java.lang.ClassCastException: iaik.asn1.structures.Name

Oracle Community | 843802 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Signed Jar doesn't run, unsigned runs.

    Oracle Community | 1 decade ago | 843811
    java.lang.ClassCastException: iaik.asn1.structures.Name
  2. 0

    Unsigned jar runs, signed doesn't!

    Oracle Community | 1 decade ago | 843802
    java.lang.ClassCastException: iaik.asn1.structures.Name

    Root Cause Analysis

    1. java.lang.ClassCastException

      iaik.asn1.structures.Name

      at sun.security.pkcs.PKCS7.getCertificate()
    2. Java RT
      ClassLoader.getResourceAsStream
      1. sun.security.pkcs.PKCS7.getCertificate(PKCS7.java:574)
      2. sun.security.pkcs.SignerInfo.getCertificate(SignerInfo.java:203)
      3. sun.security.pkcs.SignerInfo.verify(SignerInfo.java:329)
      4. sun.security.pkcs.PKCS7.verify(PKCS7.java:468)
      5. sun.security.pkcs.PKCS7.verify(PKCS7.java:485)
      6. sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:148)
      7. java.util.jar.JarVerifier.processEntry(JarVerifier.java:284)
      8. java.util.jar.JarVerifier.update(JarVerifier.java:197)
      9. java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
      10. java.util.jar.JarFile.getInputStream(JarFile.java:310)
      11. sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:120)
      12. java.net.URL.openStream(URL.java:798)
      13. java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:897)
      13 frames
    3. it.ltt.signwiz
      GUI.main
      1. it.ltt.signwiz.gui.BackgroundJPanel.<init>(BackgroundJPanel.java:40)
      2. it.ltt.signwiz.gui.wizardframework.WizardFrame.<init>(WizardFrame.java:69)
      3. it.ltt.signwiz.gui.wizardframework.WizardFrame.<init>(WizardFrame.java:146)
      4. it.ltt.signwiz.gui.GMain.<init>(GMain.java:296)
      5. it.ltt.signwiz.start.GUI._$874(GUI.java:61)
      6. it.ltt.signwiz.start.GUI.main(GUI.java:81)
      6 frames