java.io.IOException: Remote call on Channel to Maven [/usr/local/openjdk6/bin/java, -XX:MaxPermSize=256M, -Xss1m, -XX:+UseConcMarkSweepGC, -Xms128M, -Xmx1G, -cp, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/share/java/maven3, /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 62440] failed

Jenkins JIRA | Radim Kolar | 3 years ago
  1. 0

    During compilation https://github.com/kite-sdk/kite.git (Maven 3) project i got following error (Jenkins ver. 1.532.2) Commencing build of Revision 68d7714e4abd0a4cff3666e0772b660eafdf9c33 (origin/master) Checking out Revision 68d7714e4abd0a4cff3666e0772b660eafdf9c33 (origin/master) Parsing POMs [workspace] $ /usr/local/openjdk6/bin/java -XX:MaxPermSize=256M -Xss1m -XX:+UseConcMarkSweepGC -Xms128M -Xmx1G -cp /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/local/share/java/maven3 /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 62440 <===[JENKINS REMOTING CAPACITY]===>channel started ERROR: Failed to parse POMs java.io.IOException: Remote call on Channel to Maven [/usr/local/openjdk6/bin/java, -XX:MaxPermSize=256M, -Xss1m, -XX:+UseConcMarkSweepGC, -Xms128M, -Xmx1G, -cp, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/share/java/maven3, /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 62440] failed at hudson.remoting.Channel.call(Channel.java:727) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:256) at hudson.maven.ProcessCache.get(ProcessCache.java:235) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1665) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.lang.ClassNotFoundException: Failed to deserialize the Callable object. Perhaps you needed to implement DelegatingCallable? at hudson.remoting.UserRequest.perform(UserRequest.java:100) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.lang.ClassNotFoundException: hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK 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) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:624) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:116) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1611) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1516) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1349) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) ... 8 more it might be related to Java version check in POM file: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${vers.maven-enforcer-plugin}</version> <inherited>false</inherited> <configuration> <rules> <requireMavenVersion> <version>[3.0.0,)</version> </requireMavenVersion> <requireJavaVersion> <version>[${javaVersion}.0,${javaVersion}.1000}]</version> </requireJavaVersion> </rules> </configuration> <executions> <execution> <id>clean</id> <goals> <goal>enforce</goal> </goals> <phase>pre-clean</phase> </execution> <execution> <id>default</id> <goals> <goal>enforce</goal> </goals> <phase>validate</phase> </execution> <execution> <id>site</id> <goals> <goal>enforce</goal> </goals> <phase>pre-site</phase> </execution> </executions> </plugin>

    Jenkins JIRA | 3 years ago | Radim Kolar
    java.io.IOException: Remote call on Channel to Maven [/usr/local/openjdk6/bin/java, -XX:MaxPermSize=256M, -Xss1m, -XX:+UseConcMarkSweepGC, -Xms128M, -Xmx1G, -cp, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/share/java/maven3, /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 62440] failed
  2. 0

    During compilation https://github.com/kite-sdk/kite.git (Maven 3) project i got following error (Jenkins ver. 1.532.2) Commencing build of Revision 68d7714e4abd0a4cff3666e0772b660eafdf9c33 (origin/master) Checking out Revision 68d7714e4abd0a4cff3666e0772b660eafdf9c33 (origin/master) Parsing POMs [workspace] $ /usr/local/openjdk6/bin/java -XX:MaxPermSize=256M -Xss1m -XX:+UseConcMarkSweepGC -Xms128M -Xmx1G -cp /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/local/share/java/maven3 /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 62440 <===[JENKINS REMOTING CAPACITY]===>channel started ERROR: Failed to parse POMs java.io.IOException: Remote call on Channel to Maven [/usr/local/openjdk6/bin/java, -XX:MaxPermSize=256M, -Xss1m, -XX:+UseConcMarkSweepGC, -Xms128M, -Xmx1G, -cp, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/share/java/maven3, /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 62440] failed at hudson.remoting.Channel.call(Channel.java:727) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:256) at hudson.maven.ProcessCache.get(ProcessCache.java:235) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1665) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.lang.ClassNotFoundException: Failed to deserialize the Callable object. Perhaps you needed to implement DelegatingCallable? at hudson.remoting.UserRequest.perform(UserRequest.java:100) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.lang.ClassNotFoundException: hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK 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) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:624) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:116) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1611) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1516) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1349) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) ... 8 more it might be related to Java version check in POM file: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${vers.maven-enforcer-plugin}</version> <inherited>false</inherited> <configuration> <rules> <requireMavenVersion> <version>[3.0.0,)</version> </requireMavenVersion> <requireJavaVersion> <version>[${javaVersion}.0,${javaVersion}.1000}]</version> </requireJavaVersion> </rules> </configuration> <executions> <execution> <id>clean</id> <goals> <goal>enforce</goal> </goals> <phase>pre-clean</phase> </execution> <execution> <id>default</id> <goals> <goal>enforce</goal> </goals> <phase>validate</phase> </execution> <execution> <id>site</id> <goals> <goal>enforce</goal> </goals> <phase>pre-site</phase> </execution> </executions> </plugin>

    Jenkins JIRA | 3 years ago | Radim Kolar
    java.io.IOException: Remote call on Channel to Maven [/usr/local/openjdk6/bin/java, -XX:MaxPermSize=256M, -Xss1m, -XX:+UseConcMarkSweepGC, -Xms128M, -Xmx1G, -cp, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/usr/local/share/java/maven3/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/share/java/maven3, /usr/local/jboss/jboss-7.1.3/standalone/tmp/vfs/temp127a77eb282d9eef/content-2ccefeea6d48077a/WEB-INF/lib/remoting-2.33.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar, /usr/local/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar, 62440] failed
  3. 0

    ClassNotFoundException for apache http library

    GitHub | 3 years ago | ansell
    java.lang.ClassNotFoundException: org.apache.http.impl.client.SystemDefaultHttpClient
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    rexsl-maven-plugin doesn't work with Maven 3.1

    GitHub | 3 years ago | yegor256
    java.lang.ClassNotFoundException: org.sonatype.aether.RepositorySystemSession

  1. andyglick 2 times, last 2 weeks ago
  2. andyglick 3 times, last 2 weeks ago
  3. davidvanlaatum 1 times, last 2 weeks ago
  4. davidvanlaatum 15 times, last 3 months ago
  5. Adarro 1 times, last 4 months ago
1 more registered users
90 unregistered visitors
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

    hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK

    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
    ObjectInputStream.resolveClass
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:270)
    3. java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:624)
    3 frames
  4. Hudson :: Remoting Layer
    MultiClassLoaderSerializer$Input.resolveClass
    1. hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:116)
    1 frame
  5. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1611)
    2. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1516)
    3. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
    4. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1349)
    5. java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    5 frames
  6. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:98)
    3. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    4. hudson.remoting.Request$2.run(Request.java:328)
    5. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    5 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:701)
    5 frames