java.lang.Error: java.lang.reflect.InvocationTargetException

Jenkins JIRA | Guillaume Bilodeau | 4 years ago
  1. 0

    Test results disappeared since upgrade to 1.500

    Google Groups | 4 years ago | Guillaume Bilodeau
    java.lang.Error: java.lang.reflect.InvocationTargetException
  2. 0

    One of our jobs runs a Maven build that in turn executes a series of Selenium-based acceptance tests through its FailSafe plugin. Until version 1.500, test reports have been displayed on the individual build page, with the ability to drill down to individual test results. Somehow since upgrading to 1.500 these test reports have disappeared from the build page. Also, hovering over the job weather icon on the main dashboard used to show test stability; it doesn't anymore. I have verified that the tests are still executed and that the job workspace still contains the FailSafe reports. Something else is amiss. I have also restarted Jenkins and still don't see the reports. The logs seem to show an error during initialization: 2013-02-07 11:25:22 jenkins.InitReactorRunner$1 onTaskFailed GRAVE: Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:889) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/SICBlockCipher at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineSetMode(Unknown Source) at javax.crypto.Cipher$Transform.setModePadding(Cipher.java:287) at javax.crypto.Cipher.getInstance(Cipher.java:572) at javax.crypto.Cipher.getInstance(Cipher.java:510) at org.apache.sshd.common.util.SecurityUtils.getCipher(SecurityUtils.java:120) at org.apache.sshd.common.cipher.BaseCipher.init(BaseCipher.java:59) at org.apache.sshd.SshServer.setUpDefaultCiphers(SshServer.java:504) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:458) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144) ... 13 more Could this be related? One other thing I noticed is that test results for builds executed before the upgrade are accessible.

    Jenkins JIRA | 4 years ago | Guillaume Bilodeau
    java.lang.Error: java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    One of our jobs runs a Maven build that in turn executes a series of Selenium-based acceptance tests through its FailSafe plugin. Until version 1.500, test reports have been displayed on the individual build page, with the ability to drill down to individual test results. Somehow since upgrading to 1.500 these test reports have disappeared from the build page. Also, hovering over the job weather icon on the main dashboard used to show test stability; it doesn't anymore. I have verified that the tests are still executed and that the job workspace still contains the FailSafe reports. Something else is amiss. I have also restarted Jenkins and still don't see the reports. The logs seem to show an error during initialization: 2013-02-07 11:25:22 jenkins.InitReactorRunner$1 onTaskFailed GRAVE: Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:889) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/SICBlockCipher at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineSetMode(Unknown Source) at javax.crypto.Cipher$Transform.setModePadding(Cipher.java:287) at javax.crypto.Cipher.getInstance(Cipher.java:572) at javax.crypto.Cipher.getInstance(Cipher.java:510) at org.apache.sshd.common.util.SecurityUtils.getCipher(SecurityUtils.java:120) at org.apache.sshd.common.cipher.BaseCipher.init(BaseCipher.java:59) at org.apache.sshd.SshServer.setUpDefaultCiphers(SshServer.java:504) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:458) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144) ... 13 more Could this be related? One other thing I noticed is that test results for builds executed before the upgrade are accessible.

    Jenkins JIRA | 4 years ago | Guillaume Bilodeau
    java.lang.Error: java.lang.reflect.InvocationTargetException
  5. 0

    catalina.out logging same error continuously

    Stack Overflow | 2 years ago | Bhagyashree Jog
    java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/CBCBlockCipher

    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.NoClassDefFoundError

      org/bouncycastle/crypto/modes/SICBlockCipher

      at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineSetMode()
    2. Bouncy Castle Provider
      BaseBlockCipher.engineSetMode
      1. org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineSetMode(Unknown Source)
      1 frame
    3. Android Platform
      Cipher.getInstance
      1. javax.crypto.Cipher$Transform.setModePadding(Cipher.java:287)
      2. javax.crypto.Cipher.getInstance(Cipher.java:572)
      3. javax.crypto.Cipher.getInstance(Cipher.java:510)
      3 frames
    4. Apache Mina SSHD :: Core
      SshServer.setUpDefaultServer
      1. org.apache.sshd.common.util.SecurityUtils.getCipher(SecurityUtils.java:120)
      2. org.apache.sshd.common.cipher.BaseCipher.init(BaseCipher.java:59)
      3. org.apache.sshd.SshServer.setUpDefaultCiphers(SshServer.java:504)
      4. org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:458)
      4 frames
    5. org.jenkinsci.main
      SSHD.init
      1. org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82)
      2. org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    7. Hudson
      InitializerFinder$TaskImpl.run
      1. hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
      2. hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
      2 frames
    8. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      1 frame
    9. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:889)
      1 frame
    10. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:679)
      3 frames