Bug 684974 - jnlp.LaunchException: Fatal: Initialization Error
Summary: jnlp.LaunchException: Fatal: Initialization Error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: 14
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Omair Majid
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-14 21:42 UTC by Donald Cohen
Modified: 2012-03-26 18:11 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-26 18:11:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Donald Cohen 2011-03-14 21:42:34 UTC
Description of problem:
I don't know whether or how this is related to problems previously reported, but when I try to run an applet I get this result:

$ java version "1.6.0_20"

OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-x86_64)

OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.

	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:604)

	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)

	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)

Caused by: java.lang.NullPointerException

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)

	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)

	... 2 more

Caused by: 

java.lang.NullPointerException

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)

	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)

	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)

	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)

java.lang.NullPointerException

	at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:99)

	at sun.applet.AppletPanel.run(AppletPanel.java:380)

	at java.lang.Thread.run(Thread.java:636)

java.lang.NullPointerException

	at sun.applet.AppletPanel.run(AppletPanel.java:430)

	at java.lang.Thread.run(Thread.java:636)

java.lang.Exception: Applet initialization timeout

	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:637)

	at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)

	at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)

java.lang.RuntimeException: Failed to handle message: handle 60994235 for instance 1

	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:
Version-Release number of selected component (if applicable):


How reproducible:
For me this happens when I try the following url
http://saturn.spicenet.net/sonario/trylon110314/trylon110314-mysql.html
(This is in firefox.)

Comment 1 Donald Cohen 2011-03-14 22:33:11 UTC
Now that I've figured out how to get the output from chrome, here it is:

[5068:5068:4315073909859:ERROR:extension_prefs.cc(734)] Bad or missing pref 'state' for extension 'hpibmhghjndideebpackbdlpncgkcppp'

[5068:5068:4315073910171:ERROR:extension_prefs.cc(734)] Bad or missing pref 'state' for extension 'lncjcfkpannmofmpgdfoonkniofdnaba'

java version "1.6.0_20"

OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-x86_64)

OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.

	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:604)

	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)

	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)

Caused by: java.lang.NullPointerException

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)

	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)

	... 2 more

Caused by: 

java.lang.NullPointerException

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)

	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)

	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)

	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)

	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)

java.lang.NullPointerException

	at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:99)

	at sun.applet.AppletPanel.run(AppletPanel.java:380)

	at java.lang.Thread.run(Thread.java:636)

java.lang.NullPointerException

	at sun.applet.AppletPanel.run(AppletPanel.java:430)

	at java.lang.Thread.run(Thread.java:636)

java.lang.Exception: Applet initialization timeout

	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:637)

	at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)

	at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)

java.lang.RuntimeException: Failed to handle message: handle 85983265 for instance 1

	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:660)

	at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)

	at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)

Caused by: java.lang.Exception: Applet initialization timeout

	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:637)

	... 2 more


Looks the same, but there have been times in the past when one worked and the other didn't.

Comment 2 Deepak Bhole 2011-03-14 22:42:54 UTC
Sorry for the re-assignment back and forth. The problem does appear to be in the JNLP classloading code. Re-assigning back to Omair.

Comment 3 Omair Majid 2011-03-24 19:15:14 UTC
Fixed in IcedTea-Web: http://icedtea.classpath.org/hg/icedtea-web/rev/df3cf32781d3

Comment 4 Donald Cohen 2011-03-24 19:21:40 UTC
As usual, I'd like to know when I should expect to see the fix in yum updates and how I can recognize it when I do.  I guess the next time I see openjdk in an update I'll try it.  Any estimate?

Comment 5 Deepak Bhole 2011-03-24 19:35:20 UTC
Hi Donald. The fix will be in F15/rawhide before the beta deadline (29th). As for current Fedora version, we want to let icedtea have a bit of exposure before backporting it to existing stable releases, so I would guess some time in May/early June.

Comment 6 Andrew John Hughes 2011-03-24 22:19:20 UTC
Deepak, I didn't think there was any plan to change existing stable releases and it's something I'd be against.  In about eight months, those releases without IcedTea-Web (F13 + F14) will be dead anyway.

Comment 7 Omair Majid 2012-03-26 18:11:24 UTC
As mentioned in comment 3, this fix is upstream and in newer versions of Fedora. F14 has been EOL'ed and wont be getting any fixes.


Note You need to log in before you can comment on or make changes to this bug.