Public bug reported:
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.
** Affects: openjdk-6 (Ubuntu)
Importance: Undecided
Status: New
--
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-6” package in Ubuntu: New
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.
_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openjdk
More help : https://help.launchpad.net/ListHelp