← Back to team overview

openjdk team mailing list archive

[Bug 205371] Re: Java Web Start crashes with a Null Pointer Exception

 

i'm still getting this problem with openjdk-6-jre 6b09. notepad somebody
else linked does work, but

<code>
javaws http://files.gokgs.com/javaBin/cgoban.jnlp
netx: Launch Error: Could not launch JNLP file. (java.lang.NullPointerException null)
</code>

-- 
Java Web Start crashes with a Null Pointer Exception
https://bugs.launchpad.net/bugs/205371
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in Source Package "openjdk-6" in Ubuntu: Fix Released

Bug description:
When I run javaws provided by open jdk it crashes with (I can only see this error in the console):
Exception in thread "main" java.lang.NullPointerException
	at net.sourceforge.jnlp.runtime.InstallDialog.<init>(InstallDialog.java:58)
	at net.sourceforge.jnlp.runtime.InstallDialog.getInstallDir(InstallDialog.java:153)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.getDefaultBaseDir(JNLPRuntime.java:265)
	at net.sourceforge.jnlp.runtime.Boot.getBaseDir(Boot.java:407)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:159)

The link in the menu which opens the viewer works ok.

I tried just running javaws as well point it towards a few webstart apps and the result is the same.