java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function   at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:20) 1 error

Jenkins JIRA | Justin Palmer | 1 year ago
  1. 0

    Tomcat throws exceptions and fails to start with bcprov-jdk15on-1.51.jar or later whereas it works fine with bcprov-jdk15on-1.50.jar or earlier. Bouncy Castle developer [commented|http://www.bouncycastle.org/jira/browse/BJA-556] that problem may be in Jenkins. Full log attached. {noformat} 22-Aug-2015 11:52:53.248 WARNING [NullIdDescriptorMonitor.verifyId] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error Failed to instantiate Key[type=org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl, annotation=[none]]; skipping this component  com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function   at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:20) 1 error         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) ... Caused by: java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function         at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)         at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)         at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.read(InstanceIdentity.java:78) {noformat}

    Jenkins JIRA | 1 year ago | Justin Palmer
    java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function   at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:20) 1 error
  2. 0

    Tomcat throws exceptions and fails to start with bcprov-jdk15on-1.51.jar or later whereas it works fine with bcprov-jdk15on-1.50.jar or earlier. Bouncy Castle developer [commented|http://www.bouncycastle.org/jira/browse/BJA-556] that problem may be in Jenkins. Full log attached. {noformat} 22-Aug-2015 11:52:53.248 WARNING [NullIdDescriptorMonitor.verifyId] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error Failed to instantiate Key[type=org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl, annotation=[none]]; skipping this component  com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function   at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:20) 1 error         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) ... Caused by: java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function         at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)         at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)         at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.read(InstanceIdentity.java:78) {noformat}

    Jenkins JIRA | 1 year ago | Justin Palmer
    java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function   at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:20) 1 error
  3. 0

    RSA SSH2 Private Key issue using Jsch and Sshj in Java

    Stack Overflow | 11 months ago | Uppicharla
    java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VerifyError when starting Tomcat with OpenJDK and Bouncy Castle

    Google Groups | 1 year ago | Justin
    java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function
  6. 0

    exception while storing the x 509 certificate using pem writer?

    Stack Overflow | 4 years ago | kirankar
    java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMWriter, method: writeObject signature: (Ljava/lang/Object;Ljava/lang/String;[CLjava/security/SecureRandom;)V) Incompatible argument to function

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.VerifyError

      (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function   at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:20) 1 error

      at com.google.inject.internal.ProviderToInternalFactoryAdapter.get()
    2. Google Guice - Core Library
      ProviderToInternalFactoryAdapter.get
      1. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)
      1 frame