United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6612492 Plug-in crashes when required bundles cannot be downloaded
JDK-6612492 : Plug-in crashes when required bundles cannot be downloaded

Details
Type:
Bug
Submit Date:
2007-10-03
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-02-12
Component:
deploy
OS:
windows_xp
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b07)

Related Reports

Sub Tasks

Description
When the Java Plug-In requires Kernel bundle downloads in order to start, it (and consequently the entire browser) will crash if those downloads fail.

The easiest way to reproduce this is:

1) Set the registry key HKEY_LOCAL_MACHINE\Software\JavaSoft\KernelDownloadURL to a nonexistent url like "http://dgayqasdf.com"
2) Install Java Kernel.
3) Attempt to run any applet.  
4) You will receive a number of errors complaining about being unable to download bundles.  If you have a choice, cancel them.
5) If the browser doesn't crash immediately, try shutting it down.  It should crash while exiting.

Tested using IE7 on XP SP2.

(Don't forget to remove the broken registry entry when you're done testing, or Kernel won't work)

                                    

Comments
EVALUATION

From debugging, it was found that the CJavaVMService destructor was called twice, one in the Release() and another one in _Module.Term(), during browser exit if the kernel jvm was used. The fix is to check which jvm is in use and avoid the above situation from happening.
                                     
2007-10-10



Hardware and Software, Engineered to Work Together