FULL PRODUCT VERSION :
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
1. Launch an application using a JNLP file wihout the codebase attribute.
2. Stop the application and try to launch it again. The application is now in the Java Web Start Cache and if you try to launch it again, you will only see the splash screen saying 'Java Loading'. Also, you will get an exception printed in the Java Web Start log (see below).
3. If you set the codebase attribute to any correctly formatted URL, the problem does not occur and you can launch the application as many times as you like.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the following application twice:
http://karlsson.home.cern.ch/karlsson/work/webstart-bug/not-working.jnlp
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A JFrame with a simple GUI should be displayed.
The same application but with a JNLP file where the codebase attribute is set is located here:
http://karlsson.home.cern.ch/karlsson/work/webstart-bug/working.jnlp
This one can be launched as many times as you like without problems.
ACTUAL -
The splash screen that says 'Java Loading' is displayed for about 10 seconds and then nothing happens.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
The exception in the Java Web Start log file looks like this:
Exception in thread "javawsApplicationMain" java.lang.NullPointerException
at com.sun.javaws.jnl.LaunchDesc.isHttps(Unknown Source)
at com.sun.javaws.Launcher$RapidUpdateCheck.doUpdateCheck(Unknown Source)
at com.sun.javaws.Launcher$RapidUpdateCheck.access$000(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
The JNLP code is available in the linked JNLP files, the source code is included in the JAR file that the application uses.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
If you set the codebase attribute to any correctly formatted URL, the problem does not appear.
###@###.### 2004-12-08 15:25:59 GMT
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
1. Launch an application using a JNLP file wihout the codebase attribute.
2. Stop the application and try to launch it again. The application is now in the Java Web Start Cache and if you try to launch it again, you will only see the splash screen saying 'Java Loading'. Also, you will get an exception printed in the Java Web Start log (see below).
3. If you set the codebase attribute to any correctly formatted URL, the problem does not occur and you can launch the application as many times as you like.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the following application twice:
http://karlsson.home.cern.ch/karlsson/work/webstart-bug/not-working.jnlp
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A JFrame with a simple GUI should be displayed.
The same application but with a JNLP file where the codebase attribute is set is located here:
http://karlsson.home.cern.ch/karlsson/work/webstart-bug/working.jnlp
This one can be launched as many times as you like without problems.
ACTUAL -
The splash screen that says 'Java Loading' is displayed for about 10 seconds and then nothing happens.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
The exception in the Java Web Start log file looks like this:
Exception in thread "javawsApplicationMain" java.lang.NullPointerException
at com.sun.javaws.jnl.LaunchDesc.isHttps(Unknown Source)
at com.sun.javaws.Launcher$RapidUpdateCheck.doUpdateCheck(Unknown Source)
at com.sun.javaws.Launcher$RapidUpdateCheck.access$000(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
The JNLP code is available in the linked JNLP files, the source code is included in the JAR file that the application uses.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
If you set the codebase attribute to any correctly formatted URL, the problem does not appear.
###@###.### 2004-12-08 15:25:59 GMT