java.lang.ExceptionInInitializerError

Coderanch | J McCarch | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When packing jar file: "Invalid signature file digest for Manifest main attributes"

    Coderanch | 4 years ago | J McCarch
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.SecurityException

      Invalid signature file digest for Manifest main attributes

      at sun.security.util.SignatureFileVerifier.processImpl()
    2. Java RT
      Driver.main
      1. sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:240)
      2. sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
      3. java.util.jar.JarVerifier.processEntry(JarVerifier.java:262)
      4. java.util.jar.JarVerifier.update(JarVerifier.java:216)
      5. java.util.jar.JarFile.initializeVerifier(JarFile.java:345)
      6. java.util.jar.JarFile.getInputStream(JarFile.java:412)
      7. sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
      8. java.net.URL.openStream(URL.java:1037)
      9. java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:1364)
      10. java.lang.Class.getResourceAsStream(Class.java:2086)
      11. com.sun.java.util.jar.pack.PropMap.<clinit>(PropMap.java:127)
      12. com.sun.java.util.jar.pack.TLGlobals.<init>(TLGlobals.java:67)
      13. com.sun.java.util.jar.pack.PackerImpl.<init>(PackerImpl.java:66)
      14. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      15. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      16. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      17. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      18. java.lang.Class.newInstance(Class.java:374)
      19. java.util.jar.Pack200.newInstance(Pack200.java:748)
      20. java.util.jar.Pack200.newPacker(Pack200.java:134)
      21. com.sun.java.util.jar.pack.Driver.main(Driver.java:266)
      21 frames