← Back to team overview

openjdk team mailing list archive

[Bug 624919] [NEW] [REGRESSION] 6b18-1.8.1-0ubuntu1 broke javaws

 

Public bug reported:

It seems the 6b18-1.8.1-0ubuntu1 version broke javaws for our internal
application because of some changed handling of filenames (or security?)

We use "[" and "]" in our filenames and this seems to have made the new
version throw exceptions like this:

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:725)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:538)
	at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:989)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1011)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:926)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:440)
	... 1 more
Caused by: 
java.lang.NullPointerException
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:538)
	at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:989)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1011)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:926)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:440)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:725)


Changing the name of the files to a filename without "[" and "]" or downgrading to 1.8 solves the problem but it would be nice if this could be fixed in a future version.

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[REGRESSION] 6b18-1.8.1-0ubuntu1 broke javaws
https://bugs.launchpad.net/bugs/624919
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:
It seems the 6b18-1.8.1-0ubuntu1 version broke javaws for our internal application because of some changed handling of filenames (or security?)

We use "[" and "]" in our filenames and this seems to have made the new version throw exceptions like this:

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:725)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:538)
	at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:989)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1011)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:926)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:440)
	... 1 more
Caused by: 
java.lang.NullPointerException
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:538)
	at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:989)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1011)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:926)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:440)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:725)


Changing the name of the files to a filename without "[" and "]" or downgrading to 1.8 solves the problem but it would be nice if this could be fixed in a future version.





Follow ups

References