0 Replies Latest reply: Aug 26, 2010 6:10 AM by 843804 RSS

    Applet won't load for a second since JRE 6 update 21

    843804
      My applet loads the first time but not the second unless I turn off Caching in the Java Control Panel and delete the cache and temp internet files. The Exception is as follows :

      java.lang.ArrayIndexOutOfBoundsException: 0
           at com.sun.deploy.security.CPCallbackHandler$ChildElement.<init>(Unknown Source)
           at com.sun.deploy.security.CPCallbackHandler$ChildCallback.openClassPathElement(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      Exception: java.lang.ArrayIndexOutOfBoundsException: 0


      Any ideas what is happening?
      Thanks Mark.