Closed Bug 37465 Opened 25 years ago Closed 13 years ago

Assertions running news://host/article, news://host/group, or doing new message when you have zero accounts.

Categories

(MailNews Core :: Networking: NNTP, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stric, Unassigned)

References

(Blocks 1 open bug)

Details

I mid-mouse clicked on the news://news.mozilla.org/scc-57AD52.17385026042000@news.mozilla.org link on tinderbox and got these asserts: WEBSHELL+ = 5 assuming d&d is off for Personal Toolbar WEBSHELL+ = 6 Setting content window FOR DEBUG BUILDS ONLY: we are forcing you to see the checkin guidelines when you open a browser window Loading page specified via openDialog ###!!! ASSERTION: couldn't lazily create the server : 'NS_SUCCEEDED(rv)', file nsMsgAccount.cpp, line 96 ###!!! Break: at file nsMsgAccount.cpp, line 96 ###!!! ASSERTION: couldn't lazily create the server : 'NS_SUCCEEDED(rv)', file nsMsgAccount.cpp, line 96 ###!!! Break: at file nsMsgAccount.cpp, line 96 ###!!! ASSERTION: NS_ENSURE_TRUE(NS_SUCCEEDED(DoURILoad(aURI, aReferrer, loadCmd , aWindowTarget, aPostData))) failed: '(!((DoURILoad(aURI, aReferrer, loadCmd, aWindowTarget, aPostData)) & 0x80000000))', file nsDocShell.cpp, line 2288 ###!!! Break: at file nsDocShell.cpp, line 2288 ###!!! ASSERTION: NS_ENSURE_TRUE(NS_SUCCEEDED(InternalLoad(aURI, referrer, 0, 0, replace ? loadNormalReplace : loadNormal))) failed: '(!((InternalLoad(aURI, referrer, 0, 0, replace ? loadNormalReplace : loadNormal)) & 0x80000000))', file nsDocShell.cpp, line 213 ###!!! Break: at file nsDocShell.cpp, line 213 ###!!! ASSERTION: NS_ENSURE_TRUE(NS_SUCCEEDED(LoadURI(uri, 0))) failed: '(!((LoadURI(uri, 0)) & 0x80000000))', file nsDocShell.cpp, line 1054 ###!!! Break: at file nsDocShell.cpp, line 1054 JavaScript error: line 0: uncaught exception: [Exception... " 0x80004005 (NS_ERROR_FAILURE) [nsIBrowserInstance.loadUrl]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/navigator.js :: onLoadViaOpenDialog :: line 379" data: no] in SetSecurityButton WEBSHELL+ = 7 Document: Done (956882380.188 secs) Document about:blank loaded successfully Blank page loaded with beeps in my face. Closed the app, started up again and just hit File->New->Message and got these asserts: WEBSHELL+ = 8 WEBSHELL+ = 9 ComposeLoad from XUL ###!!! ASSERTION: couldn't lazily create the server : 'NS_SUCCEEDED(rv)', file nsMsgAccount.cpp, line 96 ###!!! Break: at file nsMsgAccount.cpp, line 96 ###!!! ASSERTION: couldn't lazily create the server : 'NS_SUCCEEDED(rv)', file nsMsgAccount.cpp, line 96 ###!!! Break: at file nsMsgAccount.cpp, line 96 ###!!! ASSERTION: couldn't lazily create the server : 'NS_SUCCEEDED(rv)', file nsMsgAccount.cpp, line 96 ###!!! Break: at file nsMsgAccount.cpp, line 96 prefillAccount = null Compose: ComposeStartup [format=0] [type=0] [nsIMsgIdentity: id2] JavaScript error: line 0: uncaught exception: [Exception... " 0x80004005 (NS_ERROR_FAILURE) [nsISupportsArray.QueryElementAt]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: ComposeStartup :: line 181" data: no]
accepting. i understand what's going on here. I may have a duplicate of the news:// problems, but not the new message problem. (but they are related.)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: Assertions when opening mailnews and clicking on news:// link → Assertions running news://host/article, news://host/group, or doing new message when you have zero accounts.
moving to m18.
Target Milestone: --- → M18
It looks like this was fixed, sspitzer do you want to mark as fixed? 9/15-05 w32 talkback Entering news://news.mozilla.org/scc-57AD52.17385026042000@news.mozilla.org worked File>New>Message gave me the account wizard [I think this bug should be just about this] news://news.mozilla.org:119/netscape.public.mozilla.xpcom did not seem to work [i think this is probably in some other bug]
Seth: I think you can mark this bug as fixed. Unless you want to do more cleanup. New message spawns the account wizard [although it seems the logic is a bit too reckless] <output> ComposeLoad from XUL attempt to UpgradePrefs. If that fails, open the account wizard. Compose: ComposeStartup [format=0] [type=0] JavaScript error: line 0: uncaught exception: [Exception... "Component returned failure code: 0x8 0004005 (NS_ERROR_FAILURE) [nsIMsgAccountManager.defaultAccount]" nsresult: "0x 80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/ messengercompose/MsgComposeCommands.js :: ComposeStartup :: line 586" data: no] ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "[JavaScript Error: "msgCompose has no properties" {file: "chrome: //messenger/content/messengercompose/MsgComposeCommands.js" line: 230}] [nsICont roller::isCommandEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR _WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 57" data: yes] ************************************************************ An error occurred updating the cmd_showFormatToolbar command ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "[JavaScript Error: "msgCompose has no properties" {file: "chrome: //messenger/content/messengercompose/MsgComposeCommands.js" line: 230}] [nsICont roller::isCommandEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR _WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 57" data: yes] ************************************************************ An error occurred updating the cmd_showFormatToolbar command Updating wizard map.. got a request ** acctype onload Calling custom onInit() The other urls work [the news group url requires a news server to be configured, the news message one does not]
clearing milestone, m17 and m18 are meaningless now. these need to be triages along with the rest.
Target Milestone: M18 → ---
QA Contact: lchiang → stephend
Product: MailNews → Core
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Status: ASSIGNED → NEW
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → backend
Product: Core → MailNews Core
jcranmer, -> News, or can this be resolved somehow?
While the specific assertions are no longer there, the URIs still fail, although with NS_ENSURE_SUCCESS warnings.
Component: Backend → Networking: News
OS: Solaris → All
Product: MailNews Core → Core
QA Contact: backend → networking.news
Hardware: Sun → All
Blocks: 108948
Product: Core → MailNews Core
This was fixed by one of the patches in bug 226890, note that it has its own test (test_bug34765.js).
Status: NEW → RESOLVED
Closed: 13 years ago
Depends on: 226890
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.