Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

InternalError: Error in CachedJarFile entries

395252Jun 4 2012 — edited Jun 6 2012
Our Java Web Start application (using jar indexing) blocks with the following error when loading a certain jar from the cache. Uninstalling and clearing the webstart cache fixes the problem for one execution, but then the same exception starts being thrown. After the exception has occurred the application often freeze.

Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Error in CachedJarFile entries
at com.sun.deploy.cache.CachedJarFile$2.nextElement(Unknown Source)
at sun.misc.URLClassPath$JarLoader.validIndex(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath.getResource(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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(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 java.lang.ClassLoader.loadClassInternal(Unknown Source)

the problem has been reproduced on:
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java(TM) SE Runtime Environment (build 1.6.0_23-b07)

on the following o.s. :
Microsoft Windows 2000 [Version 5.00.2195]
Microsoft Windows XP [Version 5.1.2600]
Microsoft Windows 7 [Version 6.1.7601]
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2012
Added on Jun 4 2012
6 comments
672 views