← Back to team overview

openjdk team mailing list archive

[Bug 558527] Re: javaws throws NullPointerException with some JNLP file

 

ok, my bad. java -version clearly shows that i'm using the sun/oracle
edition.


using "/usr/lib/jvm/java-6-openjdk/jre/bin/javaws" is still not working:

using raoul@rb:~$ /usr/lib/jvm/java-6-openjdk/jre/bin/javaws Desktop/ikvm.jnlp
> net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application.
> 	at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:651)
> 	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:420)
> 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:732)
> 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.createApplication(Launcher.java:641)
> 	... 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.createApplication(Launcher.java:641)
> 	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:420)
> 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:732)

thanks,
raoul

-- 
javaws throws NullPointerException with some JNLP file
https://bugs.launchpad.net/bugs/558527
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: Incomplete

Bug description:
System: Lucid Beta 1 amd64
I was trying to run Bloom the facebook photo uploader. But OpenJDK's Java Web Start doesn't launch. So I tried it on command line:
$ javaws http://antaki.ca/bloom/Bloom.jnlp
and it dies:

net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:462)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:731)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.JNLPSplashScreen.correctSize(JNLPSplashScreen.java:71)
	at net.sourceforge.jnlp.JNLPSplashScreen.setSplashImageURL(JNLPSplashScreen.java:61)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:411)
	... 1 more
Caused by: 
java.lang.NullPointerException
	at net.sourceforge.jnlp.JNLPSplashScreen.correctSize(JNLPSplashScreen.java:71)
	at net.sourceforge.jnlp.JNLPSplashScreen.setSplashImageURL(JNLPSplashScreen.java:61)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:411)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:731)

Now the workaround: I installed the less free sun-java6-jre and ran update-alternatives to point javaws to sun's version.





References