← Back to team overview

openjdk team mailing list archive

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

 

it is, however, working with 10.10 maverick out of the box:


raoul@rb:~$ dpkg -l|grep -i jdk
ii  icedtea-6-jre-cacao                        6b20-1.9-0ubuntu1
ii  openjdk-6-jdk                              6b20-1.9-0ubuntu1
ii  openjdk-6-jre                              6b20-1.9-0ubuntu1
ii  openjdk-6-jre-headless                     6b20-1.9-0ubuntu1
ii  openjdk-6-jre-lib                          6b20-1.9-0ubuntu1

raoul@rb:~$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

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