openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #04798
[Bug 544888] Re: Openjdk + icedtea6 plugin fails to load parameters from jnlp files
** Changed in: openjdk
Status: Confirmed => In Progress
--
Openjdk + icedtea6 plugin fails to load parameters from jnlp files
https://bugs.launchpad.net/bugs/544888
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in OpenJDK: In Progress
Status in “openjdk-6” package in Ubuntu: Triaged
Bug description:
I was testing applets in the tutorials, this one doesn't work:
http://java.sun.com/docs/books/tutorial/deployment/applet/param.html (scroll down for applet)
When launching firefox from console, an error is reported:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at AppletTakesParams.init(AppletTakesParams.java:39)
at sun.applet.AppletPanel.run(AppletPanel.java:436)
at java.lang.Thread.run(Thread.java:636)
This is caused by the parameter "paramInt" being unavailable. This parameter is defined in a jnlp file, reference in the HTML as such:
<applet code="AppletTakesParams.class" archive="examples/dist/applet_AppletWithParameters/applet_AppletWithParameters.jar" height="50" width="800"><param name="jnlp_href" value="examples/dist/applet_AppletWithParameters/applettakesparams.jnlp">....</applet>
The page works with sun's jre in ubuntu and windows under firefox.
References