7 Replies Latest reply: Jun 29, 2006 7:59 AM by 843844 RSS

    sun.misc.InvalidJarIndexException: Invalid index

    843844
      Hi there,
      I am trying to run static portion of the verifier and am getting the error below back.
      I am using following JDK
      java version "1.4.2_10"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
      Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)

      I've noticed similar BUG with JDK 1.3 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4358512

      Any help will be greatly appreciated,

      Irena
      -----------------------------------------------------
      ERRORS THAT OCCURED WHILE RUNNING STATIC VERIFICATION
      -----------------------------------------------------
           
           Error Name : com.sun.enterprise.tools.verifier.tests.web.WebArchiveClassesLoadable
           Error Description : sun.misc.InvalidJarIndexException: Invalid index

           at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:766)

           at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:679)

           at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:660)

           at sun.misc.URLClassPath.findResource(URLClassPath.java:141)

           at java.net.URLClassLoader$2.run(URLClassLoader.java:352)

           at java.security.AccessController.doPrivileged(Native Method)

           at java.net.URLClassLoader.findResource(URLClassLoader.java:349)

           at java.lang.ClassLoader.getResource(ClassLoader.java:813)

           at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:995)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.BCELClassFileLoader.load(BCELClassFileLoader.java:69)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:170)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:176)

           at com.sun.enterprise.tools.verifier.apiscan.classfile.ClosureCompilerImpl.buildClosure(ClosureCompilerImpl.java:133)

           at com.sun.enterprise.tools.verifier.tests.web.WebArchiveClassesLoadable.check(WebArchiveClassesLoadable.java:53)

           at com.sun.enterprise.tools.verifier.tests.web.WebTest.check(WebTest.java:46)

           at com.sun.enterprise.tools.verifier.CheckMgr.check(CheckMgr.java:76)

           at com.sun.enterprise.tools.verifier.web.WebCheckMgrImpl.check(WebCheckMgrImpl.java:32)

           at com.sun.enterprise.tools.verifier.BaseVerifier.verify(BaseVerifier.java:86)

           at com.sun.enterprise.tools.verifier.web.WebVerifier.verify(WebVerifier.java:43)

           at com.sun.enterprise.tools.verifier.VerificationHandler.runVerifier(VerificationHandler.java:136)

           at com.sun.enterprise.tools.verifier.VerificationHandler.verifyArchive(VerificationHandler.java:82)

           at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:75)

           at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)