FS#31625 - [icedtea-web-java7] applets won't start

Attached to Project: Arch Linux
Opened by Andrea D'Amore (anddam) - Thursday, 20 September 2012, 20:26 GMT
Last edited by Guillaume ALAUX (galaux) - Wednesday, 03 October 2012, 07:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Guillaume ALAUX (galaux)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Using chromium 21.0.1180.89-1 and icedtea-web-java7 1.3-1 many applets don't start.
I'm not sure if that's related to the icedtea-web-java7 being outdated or not so I'm filing a bug (package is already flagged outdated ).

Additional info:
Output of a failing applet:

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:735)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:676)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:886)
Caused by: java.lang.ClassNotFoundException: run
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1609)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725)
... 2 more
java.lang.NullPointerException
at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:154)
at sun.applet.AppletPanel.run(AppletPanel.java:379)
at java.lang.Thread.run(Thread.java:722)
java.lang.NullPointerException
at sun.applet.AppletPanel.run(AppletPanel.java:429)
at java.lang.Thread.run(Thread.java:722)


Steps to reproduce:

Load any of the applet at <http://www.java4k.com>
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Wednesday, 03 October 2012, 07:24 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Problem is on the website side
Comment by Guillaume ALAUX (galaux) - Friday, 21 September 2012, 08:39 GMT
I *was* able to reproduce it with the "official" applet test from Oracle [0] but now this applet works. Some more test applets [1] work. Could you please try these?

[0] http://www.java.com/fr/download/testjava.jsp
[1] http://www.w3.org/People/mimasa/test/object/java/
Comment by Guillaume ALAUX (galaux) - Friday, 21 September 2012, 09:21 GMT
Just for the record, applets on java4k look OK. I downloaded the source of one, compiled it [0]: it runs fine ("appletviewer http://dev.archlinux.org/~guillaume/applet/Mazer4K.html&quot;)

You get NPE but this must be due to the Applet itself not finding audio stuff.

I am not a big applet expert but it looks like applets are not correctly embedded in the java4k.com website.

[0] http://dev.archlinux.org/~guillaume/applet/
Comment by Andrea D'Amore (anddam) - Friday, 21 September 2012, 16:08 GMT
I confirm applet [0] from first comment works, "Java fonctionne".
Three combinations at [1] works while "using attributes of object / using params" and "using a nested conbination of attributes of object and params" fail.

Thanks for the tip about audio and java4k.com bad embedding.

Whenever I open a page containing a java applet on chromium I get chromium's yellow tab alerting that Icedtea plugin is outdated and to upgrade it, while not critical and therefore not anymore "high" severity, this is annoying. Can this be fixed by a package mainatiner (icedtea or chromium)?
Comment by Guillaume ALAUX (galaux) - Friday, 21 September 2012, 17:12 GMT
>I confirm applet [0] from first comment works, "Java fonctionne".
Good!

>Three combinations at [1] works while "using attributes of object / using params" and "using a nested conbination of attributes of object and params" fail.
Yes, these applet do not show up (could be due to which tags are supported by the browser) but they do not spit any Exception. Firefox displays them OK.

>Thanks for the tip about audio and java4k.com bad embedding.
This was just an assumption. Haven't investigated this.

> [..] on chromium I get chromium's yellow tab alerting that Icedtea plugin is outdated [..]
Yes, known bug to be fixed in next Chromium release [0]

Hum I have made the same setup in here [1] (refering to the 'archive' as the jar.pack.gz I downloaded from their website) with the tag they use on java4k and it actually works. So to sum up it really looks like an issue on java4k's side.

[0] http://code.google.com/p/chromium/issues/detail?id=138386
[1] http://dev.archlinux.org/~guillaume/applet/test.html

Loading...