JDK-6711811 : exception thrown while invoking applet from shortcut
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2008-06-06
  • Updated: 2010-04-04
  • Resolved: 2008-06-06
Related Reports
Duplicate :  
Description
Description: Exception are thrown while launching the applets from the shortcut

build tested - b26 pit
OS tested - Win XP, Win Vista
browsers tested - IE 7, FF3

Steps to reproduce.

1) Invoke the following applet.
http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/AppletCommunication/html/TalkinApplet.html
2) Enter Port "51135" inside the TextField and press "Connect" and make sure that applet is getting connected successfully
3) Use Alt + Left Click + Drag to drag the above applet out of the web browser 
4) Close the browser. There should be pop-up to create a shortcut. Click "OK". 
5) Make sure that shortcut is getting created 
6) Close the dragged applet.
7) Invoke the applet again from the shortcut. 

Actual Behavior:
The following exception gets thrown and the applet loads.
java.lang.Exception: JNLP2Viewer.appletSSVValidation
	at sun.plugin2.applet.viewer.JNLP2Viewer$1$3.appletSSVValidation(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.fireAppletSSVValidation(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
basic: Applet loaded.

Expected behavior - Exceptions should be not be thrown.

Comments
EVALUATION This is the same as 6709269 (Exception thrown within JNLP2Viewer when a dragged-out applet is relaunched from desktop shortcut) which will be fixed in 6u11.
06-06-2008