FULL PRODUCT VERSION :
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
Our webstart-enabled application had been open for a while. The user tried to close the application, triggering the code in our window close handler, which then threw an unexpected NullPointerException when the VM tried to load a class required by the handler.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The issue was seen once and has not been reproduced.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The handler code should run (implicitly loading classes as necessary).
ACTUAL -
The handler code failed with a NullPointerException when the VM tried to load a needed class.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NullPointerException
at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler.access$1500(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at xxx.xxx.XXXFrame.close(XXXFrame.java:501)
REPRODUCIBILITY :
This bug can be reproduced rarely.
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
Our webstart-enabled application had been open for a while. The user tried to close the application, triggering the code in our window close handler, which then threw an unexpected NullPointerException when the VM tried to load a class required by the handler.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The issue was seen once and has not been reproduced.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The handler code should run (implicitly loading classes as necessary).
ACTUAL -
The handler code failed with a NullPointerException when the VM tried to load a needed class.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NullPointerException
at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler.access$1500(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at xxx.xxx.XXXFrame.close(XXXFrame.java:501)
REPRODUCIBILITY :
This bug can be reproduced rarely.
- duplicates
-
JDK-8044212 NPE in CPCallbackHandler.isAuthenticated
-
- Resolved
-