java.io.IOException: Remote call on Channel to Maven [/var/lib/jenkins/tools/hudson.model.JDK/Current/bin/java, -Xms512m, -Xmx512m, -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.7, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x, /var/cache/jenkins/war/WEB-INF/lib/remoting-2.30.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 39861] failed

Jenkins JIRA | Rob van Oostrum | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After upgrading to Jenkins 1.526 and updating plugins to latest, my Maven 3.0.x builds are failing with the following exception: {noformat} <===[JENKINS REMOTING CAPACITY]===>channel started using global settings config with name Artifactory Mirrors channel stopped ERROR: Failed to parse POMs java.io.IOException: Remote call on Channel to Maven [/var/lib/jenkins/tools/hudson.model.JDK/Current/bin/java, -Xms512m, -Xmx512m, -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.7, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x, /var/cache/jenkins/war/WEB-INF/lib/remoting-2.30.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 39861] failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:813) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:506) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getMethod0(Class.java:2670) at java.lang.Class.getMethod(Class.java:1603) at hudson.maven.Maven3Builder.call(Maven3Builder.java:117) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) 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:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.listeners.HudsonMavenExecutionResult at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 15 more {noformat}

    Jenkins JIRA | 4 years ago | Rob van Oostrum
    java.io.IOException: Remote call on Channel to Maven [/var/lib/jenkins/tools/hudson.model.JDK/Current/bin/java, -Xms512m, -Xmx512m, -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.7, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x, /var/cache/jenkins/war/WEB-INF/lib/remoting-2.30.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 39861] failed
  2. 0

    After upgrading to Jenkins 1.526 and updating plugins to latest, my Maven 3.0.x builds are failing with the following exception: {noformat} <===[JENKINS REMOTING CAPACITY]===>channel started using global settings config with name Artifactory Mirrors channel stopped ERROR: Failed to parse POMs java.io.IOException: Remote call on Channel to Maven [/var/lib/jenkins/tools/hudson.model.JDK/Current/bin/java, -Xms512m, -Xmx512m, -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.7, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x, /var/cache/jenkins/war/WEB-INF/lib/remoting-2.30.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 39861] failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:813) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:506) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getMethod0(Class.java:2670) at java.lang.Class.getMethod(Class.java:1603) at hudson.maven.Maven3Builder.call(Maven3Builder.java:117) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) 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:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.listeners.HudsonMavenExecutionResult at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 15 more {noformat}

    Jenkins JIRA | 4 years ago | Rob van Oostrum
    java.io.IOException: Remote call on Channel to Maven [/var/lib/jenkins/tools/hudson.model.JDK/Current/bin/java, -Xms512m, -Xmx512m, -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.7, -cp, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.0.x, /var/cache/jenkins/war/WEB-INF/lib/remoting-2.30.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 39861] failed
  3. 0

    Every maven build I try to start on this just upgraded Jenkins-instance results in a stacktrace like: Parsing POMs [JMunin] $ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7 -cp /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 48878 <===[JENKINS REMOTING CAPACITY]===>channel started channel stopped ERROR: Het lezen van de POMs is gefaald. java.io.IOException: Remote call on Channel to Maven [/usr/lib/jvm/java-7-openjdk-amd64/bin/java, -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7, -cp, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/maven, /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 48878] failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:813) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:506) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2451) at java.lang.Class.getMethod0(Class.java:2694) at java.lang.Class.getMethod(Class.java:1622) at hudson.maven.Maven3Builder.call(Maven3Builder.java:117) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) 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:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.listeners.HudsonMavenExecutionResult at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 15 more FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE Before the upgrade, all builds where working fine but now they are all failing.

    Jenkins JIRA | 4 years ago | Tim Boven
    java.io.IOException: Remote call on Channel to Maven [/usr/lib/jvm/java-7-openjdk-amd64/bin/java, -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7, -cp, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/maven, /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 48878] failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Every maven build I try to start on this just upgraded Jenkins-instance results in a stacktrace like: Parsing POMs [JMunin] $ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7 -cp /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 48878 <===[JENKINS REMOTING CAPACITY]===>channel started channel stopped ERROR: Het lezen van de POMs is gefaald. java.io.IOException: Remote call on Channel to Maven [/usr/lib/jvm/java-7-openjdk-amd64/bin/java, -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7, -cp, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/maven, /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 48878] failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:160) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:813) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1597) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:506) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2451) at java.lang.Class.getMethod0(Class.java:2694) at java.lang.Class.getMethod(Class.java:1622) at hudson.maven.Maven3Builder.call(Maven3Builder.java:117) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) 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:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.listeners.HudsonMavenExecutionResult at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 15 more FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE Before the upgrade, all builds where working fine but now they are all failing.

    Jenkins JIRA | 4 years ago | Tim Boven
    java.io.IOException: Remote call on Channel to Maven [/usr/lib/jvm/java-7-openjdk-amd64/bin/java, -Dm3plugin.lib=/mnt/workspace/jenkins/cache/artifactory-plugin/2.1.7, -cp, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/maven, /mnt/storage/tomcat/jenkins/WEB-INF/lib/remoting-2.30.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /mnt/workspace/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 48878] failed
  6. 0

    GitHub comment 305#226343138

    GitHub | 10 months ago | arichiardi
    java.lang.NoClassDefFoundError: org/eclipse/aether/transfer/TransferListener
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.ClassNotFoundException

    org.jvnet.hudson.maven3.listeners.HudsonMavenExecutionResult

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
    3 frames
  3. Java RT
    Class.getMethod
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    3. java.lang.Class.getMethod0(Class.java:2670)
    4. java.lang.Class.getMethod(Class.java:1603)
    4 frames
  4. Hudson Maven Embedder
    Maven3Builder.call
    1. hudson.maven.Maven3Builder.call(Maven3Builder.java:117)
    2. hudson.maven.Maven3Builder.call(Maven3Builder.java:67)
    2 frames
  5. 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
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    5. java.lang.Thread.run(Thread.java:662)
    5 frames