JDK-6769298 : Unable to create shortcut using 6u12-b01
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u12
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-11-08
  • Updated: 2011-02-16
  • Resolved: 2009-01-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u12 b02Fixed
Related Reports
Relates :  
Description
I am unable to create a shortcut using JRE 6u12-b01 on XP, Vista and Solaris 11 with FF3 and IE7. The shortcut dialog does not appear and no shortcut gets created. To reproduce this, do the following:

1) Launch the following applet:
http://web-east.east.sun.com/www/tests/1.6.0_12/6740227/fileAssocNoSI.html
2) Press the "Alt" key and drag the applet out of the browser
3) Close the browser
4) Close the applet

Notice no dialog appears asking you if you would like to create a shortcut. Using JRE 6u10-33 a shortcut dialog does appear and I am able to create a shortcut.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u12/6769298.1
10-11-2008

EVALUATION The problem is due to a NPE in LocalInstallHandler as follows: java.lang.NullPointerException at com.sun.javaws.LocalInstallHandler.performIntegration(LocalInstallHandler.java:577) at com.sun.javaws.LocalInstallHandler.install(LocalInstallHandler.java:135) at sun.plugin2.applet.JNLP2Manager$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) This was introduced by the fix for 6744907 (Java WebStart should not create any Swing/AWT objects on warm start) in 6u12 b01. A possible fix is to null check the owner component before the showDialog() in LocalInstallHandler - the dialog asking if the user wants to create a desktop shortcut.
10-11-2008