This content has been marked as final. Show 3 replies
Since Java 7 update 25, we have an important issue in our client JavaFX application, launched from webstart (applet, we use the ant fx2 deploy tool)
Its seems that it is related to the issue https://forums.oracle.com/thread/2552941, due to new classloader scheme with u25 (com.sun.jnlp.JNLPLoader and sun.misc.Launcher.AppClassLoader).
Our problem occurs when we try to use ImageIO :
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at javax.imageio.ImageIO.<clinit>(Unknown Source)
... 3 more
Exception in thread "Thread-126"
Date : Mon Jun 24 18:56:37 CEST 2013
java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO
We checked the getDefaultInstance function in IIORegistry of the jre, it's registering some javax services by using the default Thread classloader.
We have the feeling that IIORegistry found the wrong classLoader.
We tried to add the quickAndDirtyFixForProblemWithWebStartInJava7u25 from theskad81 but didn't help in our fx environment.
Many thanks if you have some advices for us to find a workaround !