FULL PRODUCT VERSION :
6u10 b32
ADDITIONAL OS VERSION INFORMATION :
Linux jenny 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Using the sample draggable applet example at https://jdk6.dev.java.net/plugin2/ the desktop icon is created.
When executing the desktop icon this output is received:
java.net.MalformedURLException: no protocol: "file://///home/jamesu/.java/deployment/cache/6.0/21/49f35ad5-607a6371"
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Set Firefox 3 to use libnpjp2.so from java 6u10 b32. Drag the applet at https://jdk6.dev.java.net/plugin2/ out of the window and allow the desktop icon to be created.
Close the browser and the applet.
Double-click on the icon and note that the applet does not restart.
View the icon properties and execute the command at a command prompt to receive the MalformedURLException.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I was expecting the applet to restart.
ACTUAL -
The applet failed to restart.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.net.MalformedURLException: no protocol: "file://///home/jamesu/.java/deployment/cache/6.0/21/49f35ad5-607a6371"
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
6u10 b32
ADDITIONAL OS VERSION INFORMATION :
Linux jenny 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Using the sample draggable applet example at https://jdk6.dev.java.net/plugin2/ the desktop icon is created.
When executing the desktop icon this output is received:
java.net.MalformedURLException: no protocol: "file://///home/jamesu/.java/deployment/cache/6.0/21/49f35ad5-607a6371"
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Set Firefox 3 to use libnpjp2.so from java 6u10 b32. Drag the applet at https://jdk6.dev.java.net/plugin2/ out of the window and allow the desktop icon to be created.
Close the browser and the applet.
Double-click on the icon and note that the applet does not restart.
View the icon properties and execute the command at a command prompt to receive the MalformedURLException.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I was expecting the applet to restart.
ACTUAL -
The applet failed to restart.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.net.MalformedURLException: no protocol: "file://///home/jamesu/.java/deployment/cache/6.0/21/49f35ad5-607a6371"
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at sun.plugin2.applet.viewer.JNLP2Viewer.run(Unknown Source)
at sun.plugin2.applet.viewer.JNLP2Viewer.main(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-6761053 Desktop shortcuts for dragged applets from HTTPS servers do not relaunch and can not be customized
- Resolved
- relates to
-
JDK-6713611 Dnd - Shortcuts not working on Solaris
- Closed
-
JDK-6706370 DragExample.jnlp won't run in 6u10 plugin release notes
- Closed