Closed Bug 1483 Opened 26 years ago Closed 26 years ago

Crash on startup if JRE isn't installed correctly

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Other

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fur, Assigned: sudu)

Details

Initially, my registry was setup incorrectly and the JVM Manager couldn't locate the JVM. That caused it to crash with a null deref (null m_vm pointer) with this backtrace: CJavaJNI::GetJNIEnv() line 122 + 35 bytes COJIJNI::GetJNIEnv() line 89 CJavaPluginFactory::StartupJVM(CJavaPluginFactory * const 0x02493570, nsJVMInitArgs * 0x0012e96c) line 412 nsJVMMgr::StartupJVM() line 953 + 22 bytes nsJVMMgr::MaybeStartupLiveConnect() line 1070 + 20 bytes JVM_MaybeStartupLiveConnect() line 1559 + 8 bytes lm_ReallyInitMocha() line 761 + 5 bytes LM_InitMocha() line 816 Incidentally, if you're wondering how my registry got set up incorrectly, it appears that the JRE installer that runs when you install JDK1.2 is not the same as the one that runs when you install the JRE separately. The former does not set up JavaSoft\Java Runtime Environment\1.2\JavaHome key, but the latter does.
Assignee: warren → sudu
Stanley has a fix for it.
Stanley has a fix for it.
Stanley has a fix for it.
Component: Java Stubs → OJI
Product: MozillaClassic → Browser
QA Contact: 3849
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 3849 → 4082
reassigning Greg Lynn as QA contact
QA Contact: 4082 → 4015
sudu, update on this bug? QA assigned to whitebox, gerardok.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This bug is fixed.
Status: RESOLVED → VERIFIED
Re-tested the failure by changing the path of the installed JRE, so it would be different than the path in the registry. Build 1999-08-27-08 isn't crashing anymore. Status changed to Verified.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.