Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6802069
Votes 0
Synopsis Issues with parsing of JNLP file under some scenarios while launching applets from desktop shortcut
Category java_plugin:plugin2
Reported Against
Release Fixed 6u13(b02)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6764345 , 6806833 , 6814234
Submit Date 05-FEB-2009
Description
Under some scenarios applet are not launched properly from desktop shortcut and following exception is getting thrown.
MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
	at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
	at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
	at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
	at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
	at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
	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)
Error while initializing manager: MissingFieldException[ The following required field is missing from the launch file: <jnlp>], bail out

Steps to reproduce:
------------------
1) Install 6u12 
2) Lauch an applets from following page
https://jdk6.dev.java.net/plugin2/

3)Under Experimental Functionality , try to drag the applet out of browser and click reload
4) Propmt to create desktop shortcut should be there.
5) "Yes" to shortcut creation , shorccut "Simple Draggable Applet Example" should get created on desktop.
6) Try to click on shortcut and if above mentioned exception is thrown and applets fails to launch then bug is reproduced
Posted Date : 2009-02-05 23:25:06.0
Work Around
N/A
Evaluation
JNLP2Viewer passed a null jnlpFile to JNLP2Manager. This caused JNLP2Manager try to parse the codebase document as a jnlp file.
Posted Date : 2009-02-06 05:59:14.0
Comments
  
  Include a link with my name & email   

Submitted On 22-MAY-2009
sheilahrice
trying to install java plug-in to my space



PLEASE NOTE: JDK6 is formerly known as Project Mustang