JNLP based applets are failing to get launched diretcly using javaws or from desktop shortcut by throwing following exception
xception in thread "AWT-EventQueue-3" java.lang.ClassCastException: com.sun.deploy.uitoolkit.impl.awt.UIToolkitImpl cannot be cast to com.sun.deploy.uitoolkit.PluginUIToolkit
at sun.plugin2.applet.viewer.JNLP2Viewer$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
preloader: Stop progressCheck thread
Steps to reproduce:
1) Install the latest jdk7 nightly bundle
2) Try to launch applet inside the browser
http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/html/SimpleJNLPTest.html
- Drag applet outside the browser using left mosue+ALT button
- close the browser and allow to create shorcut
- Try laucnhing the applet again from shortcut
OR try launching the applet directly as follows
javaws http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/jnlp/SimpleJNLPTest.jnlp
If applet fails to laucnh by throwing above mentioned exception then bug is reproduced
xception in thread "AWT-EventQueue-3" java.lang.ClassCastException: com.sun.deploy.uitoolkit.impl.awt.UIToolkitImpl cannot be cast to com.sun.deploy.uitoolkit.PluginUIToolkit
at sun.plugin2.applet.viewer.JNLP2Viewer$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
preloader: Stop progressCheck thread
Steps to reproduce:
1) Install the latest jdk7 nightly bundle
2) Try to launch applet inside the browser
http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/html/SimpleJNLPTest.html
- Drag applet outside the browser using left mosue+ALT button
- close the browser and allow to create shorcut
- Try laucnhing the applet again from shortcut
OR try launching the applet directly as follows
javaws http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/jnlp/SimpleJNLPTest.jnlp
If applet fails to laucnh by throwing above mentioned exception then bug is reproduced
- duplicates
-
JDK-7019610 cannot launch dragged out applet from shortcut, get ClassCastException
-
- Closed
-