Closed Bug 93889 Opened 24 years ago Closed 24 years ago

Getting "Error creating browser instance"

Categories

(SeaMonkey :: UI Design, defect, P2)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: bugzilla, Assigned: law)

References

Details

(Keywords: smoketest)

Attachments

(1 file)

When I log into my Win2k system I get the following mozilla error alert: "Error creating browser instance" I use Mozilla Quick Launch. I'll attach a ascreen shot of the alert. Build 20010805 on Win2k I'm always using the win32 installer to install Mozilla.
I saw this alert a few times. It crashes my debug build but after I fixed a problem with the FS on drive C: the error is gone. see bug 93684 (marked worksforme after this seem to be fixed for me and the reporter) BTW: I don't use quicklaunch
btw: I have two profiles. Now I'm getting the "error creating browser instance" everytime I click on the Mozilla icon in the system tray.
Reproduced on WinXP 2001080603, with and without Quick Launch. Occasionally happens when using the component bar too. Don't recall seeing the error on 0.9.2
XP Apps
Assignee: asa → pchen
Component: Browser-General → XP Apps
QA Contact: doronr → sairuh
reassigning to turbo folx.
Assignee: pchen → vishy
QA Contact: sairuh → paw
Blocks: 75599
Keywords: nsbeta1
I've seen this happen without quick launch, although I don't have a specific recipe to trigger it.
Me too and... me neither.
Summary: Getting "Error creating browser instance" when using Quick Launch → Getting "Error creating browser instance"
No longer blocks: 75599
Same for me. I don't use quick launch, I just run it straight off a desktop icon. The error most likely is raised here: http://lxr.mozilla.org/seamonkey/source/xpfe/browser/resources/content/navigator .js#245
*** Bug 94178 has been marked as a duplicate of this bug. ***
nav triage team: Welcome back bug for Bill Law. Marking nsbeta1+, p2, and mozilla0.9.4. Reassigning to law
Assignee: vishy → law
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Target Milestone: --- → mozilla0.9.4
I spent a little (monotonous, repetitive) time reproducing this with a few extra error messages added to navigator.js. This is failing because |getWebNavigation()| is failing here: function getWebNavigation() { try { return getBrowser().webNavigation; } catch (e) { alert(e); return null; } } |gBrowser|, which is the return value of |getBrowser()|, is a valid XUL element (for the <browser> element in navigator.xul) but the exception thrown for getBrowser().webNavigation is this: "TypeError: this.docShell has no properties" Blake. Jag. Vend me a clue. Any ideas on what's going wrong? ... and while I'm here, when is Bill back? This needs a fix before 0.9.4, and if he's not back until the end of the month, when 9.4 is closing, then ...
It seems like the xbl browser binding wasn't bound to the browser xul element. Is this element hidden in some way?
Hidden? How do you mean? This error occurs when just starting the browser in the normal default way (e.g., create a brand new profile, and then restart it until you get this error). Maybe this is related/the-same-as bug 93558 (and kin) which I traced down to a failure to pull resources out of jar files (I think). So, if the .css that does the XBL binding isn't loaded then when navigator.xul|js does its onload processing, the <browser> is not fully set up.
I agree. Sometimes I see windows with parts of chrome loaded. When I get this error, rather than clicking OK, you can start Mozilla again first It tells the original Mozilla to open a new browser window which is quicker.
smoketest blocker per drivers.
Severity: normal → blocker
Keywords: smoketest
OK, on second thoughts, maybe this doesn't need to be a blocker. How frequently does this problem happen? (Could it be related to stylesheets loading asynchronously, the same reason as bug 70258?)
I think this went away with the fix for bug 93558 (the follow-on to bug bug 70258). Or, to be specific, I had a trunk build where I was always hitting this error; after I updated to pick up the fix for 93558, all my problems went away and I haven't seen this since. [If I do see it again, I will come back in full whine-mode, but till then :-].
Waahh! 2001-08-14-12-trunk and 2001-08-14-06-trunk win2k won't even start; always this error.
But mozilla build 2001-08-14-12-trunk on win2k starts with no problem. (???)
This works for me, after 93588 is fixed I never seen this error again...
the 08-14-12 build has the new nsprpub, perhaps this is fixed by some magic in nspr?
I'm running both the 8-14-12 spins for mozilla and commercial on win2k. The commercial build is **** out with this error (almost) every time, while the mozilla build never hits this error. I found that if I dropped the mozilla comm.jar into the commercial chrome, the commercial build would run. Then I realized that in the console, I had an XML error for the commercial comm.jar: XML Error in file 'chrome://communicator/content/communicatorOverlay.xul', Line Number: 134, Col Number: 29, Description: undefined entity Source Line: hidden="&hideNet2phoneButton;"/> I corrected that file (by hard-coding 'true' ... there is no &hideNet2phoneButton; entity in any DTD that I can find. With that sole change in the commercial chrome, the build never (yet) hits this 'Error creating browser instance'. So, this looks like the fix for commercial builds. I think that this bug was fixed in the mozilla builds with the fix for bug 93588, but that left this recent change in the commercial bits. [Er, well, that's what it looks like to me from empirical evidence, but the fix for bug 93588 was in CSSFrameConstructor, and this "fix" is to correct an XML error in chrome -- not what you would think of as related in any way].
checked in fix for this. It's a netscape only bug. by the way net2phone does not exist.
.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 95316 has been marked as a duplicate of this bug. ***
matt says "fix checked in; it's a netscape only bug". Why then did I just have it happen on my mozilla daily win32 build from 2001081003? No quick load, Win98, installed from installer. I suggest reopening unless there's proof that the bug was fixed in the mozilla (not netscape) tree.
> mozilla daily win32 build from 2001081003? Yes, this bug was in the mozilla trunk builds at that time. I believe it was fixed in bug 93588 (see comments above). However, it continued to show up in commercial Netscape builds today, until Matt checked in some missing XML entities. I think it is better to reopen this bug, if and when it is reproduced in a current trunk build (as opposed to having an open smoketest-blocker, tree-closer bug which no one can positively reproduce anymore).
I think jrgm meant bug 93558 :-)
am seeing this with mozilla build from last week On my Win2k machine I had one profile set up so I could run turbo- was running turbo on a mozilla build Then I added a profile to test mail setup in Netscape 6- yesterday Today I deleted the mail profile and tried to launch with the profile that has turbo on. bingo....alert came up - error creating browser instance. I can launch using mozilla -console
last week? Makes sense. Bug 93558 was only fixed two days ago. Try it with a current build.
Using the 2001081504 build on Windows I no longer see the problem.
Okay, let's call this a wrap. Reopen as required :-]
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: