java.lang.NoSuchMethodError: org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String;

Jenkins JIRA | Georg Sash | 4 years ago
  1. 0

    All our Jenkins builds using Maven2 are failing after upgrade to 1.517. Reverting back to 1.516 solves the issue. Our Maven 3 based builds are not affected. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String; [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String; at hudson.Util.getDigestOf(Util.java:557) at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101) at hudson.maven.Maven2Builder.postModule(Maven2Builder.java:129) at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:354) at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:308) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:185) at hudson.maven.MavenBuilder.call(MavenBuilder.java:154) at hudson.maven.Maven2Builder.call(Maven2Builder.java:79) at hudson.maven.Maven2Builder.call(Maven2Builder.java:55) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:738) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Jun 03 15:26:42 CEST 2013 [INFO] Final Memory: 49M/125M [INFO] ------------------------------------------------------------------------ channel stopped Finished: FAILURE

    Jenkins JIRA | 4 years ago | Georg Sash
    java.lang.NoSuchMethodError: org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String;
  2. 0

    All our Jenkins builds using Maven2 are failing after upgrade to 1.517. Reverting back to 1.516 solves the issue. Our Maven 3 based builds are not affected. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String; [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String; at hudson.Util.getDigestOf(Util.java:557) at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101) at hudson.maven.Maven2Builder.postModule(Maven2Builder.java:129) at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:354) at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:308) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:185) at hudson.maven.MavenBuilder.call(MavenBuilder.java:154) at hudson.maven.Maven2Builder.call(Maven2Builder.java:79) at hudson.maven.Maven2Builder.call(Maven2Builder.java:55) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:738) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Jun 03 15:26:42 CEST 2013 [INFO] Final Memory: 49M/125M [INFO] ------------------------------------------------------------------------ channel stopped Finished: FAILURE

    Jenkins JIRA | 4 years ago | Georg Sash
    java.lang.NoSuchMethodError: org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String;
  3. 0

    How to reset PARENT FIRST in WebSphere without Console?

    Stack Overflow | 4 months ago | Julia
    java.lang.NoSuchMethodError: org/apache/commons/validator/ValidatorResources.<init>([Ljava/io/InputStream;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help! JDeveloper 10.1.3+Standlone oc4j, deploy exception?a bug?

    Oracle Community | 1 decade ago | 490328
    java.lang.NoSuchMethodError: javax.enterprise.deploy.model.DeployableObject.getEntry(Ljava/lang/String;)Ljava/io/InputStream;
  6. 0

    Help! JDeveloper 10.1.3+Standlone oc4j, deploy exception?a bug?

    Oracle Community | 1 decade ago | 490328
    oracle.oc4j.admin.deploy.spi.exceptions.ExtendedInvalidModuleException: javax.enterprise.deploy.model.DeployableObject.getEntry(Ljava/lang/String;)Ljava/io/InputStream;

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

      org/apache/commons/codec/digest/DigestUtils.md5Hex(Ljava/io/InputStream;)Ljava/lang/String;

      at hudson.Util.getDigestOf()
    2. Hudson
      Util.getDigestOf
      1. hudson.Util.getDigestOf(Util.java:557)
      1 frame
    3. Legacy Maven 2 job type Plugin
      MavenArtifactArchiver.postBuild
      1. hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101)
      1 frame
    4. Hudson Maven Embedder
      MavenBuilder$Adapter.postBuild
      1. hudson.maven.Maven2Builder.postModule(Maven2Builder.java:129)
      2. hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:354)
      3. hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:308)
      3 frames
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68)
      2. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      3. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      3 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    8. Plexus
      Launcher.launch
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      2 frames
    9. Hudson M2
      Main.launch
      1. hudson.maven.agent.Main.launch(Main.java:185)
      1 frame
    10. Hudson Maven Embedder
      Maven2Builder.call
      1. hudson.maven.MavenBuilder.call(MavenBuilder.java:154)
      2. hudson.maven.Maven2Builder.call(Maven2Builder.java:79)
      3. hudson.maven.Maven2Builder.call(Maven2Builder.java:55)
      3 frames
    11. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:149)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      5. java.lang.Thread.run(Thread.java:738)
      5 frames