← Back to team overview

openjdk team mailing list archive

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

 

** Attachment added: "ikvm(2).jnlp"
   http://launchpadlibrarian.net/51237840/ikvm.jnlp

-- 
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: New

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