hudson.util.IOException2

tip

Update "latest" to Java 8 on DockerHub.

tip

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

tip

You're using an older version of java with classes compiled for java7

tip

If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • My jobs failed when processing CppUnit with this error : ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: /var/jenkins/workspace/nameOfMyJob at hudson.remoting.Channel@cb61b:runner-rh4u8 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:170) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:115) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:92) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on runner-rh4u8 failed at hudson.remoting.Channel.call(Channel.java:672) at hudson.FilePath.act(FilePath.java:831) ... 13 more Caused by: java.lang.ClassFormatError: Failed to load com.thalesgroup.dtkit.junit.CppUnit at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:154) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:152) ... 34 more I can't find why this happens. I have a master/slave configuration, jenkins master is on ubuntu and jenkins slave (named runner-rh4u8 in traces above) on redhat4 update8 Thanks in advance for your help
    via by Adoudev,
  • My jobs failed when processing CppUnit with this error : ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: /var/jenkins/workspace/nameOfMyJob at hudson.remoting.Channel@cb61b:runner-rh4u8 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:170) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:115) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:92) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on runner-rh4u8 failed at hudson.remoting.Channel.call(Channel.java:672) at hudson.FilePath.act(FilePath.java:831) ... 13 more Caused by: java.lang.ClassFormatError: Failed to load com.thalesgroup.dtkit.junit.CppUnit at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:154) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:152) ... 34 more I can't find why this happens. I have a master/slave configuration, jenkins master is on ubuntu and jenkins slave (named runner-rh4u8 in traces above) on redhat4 update8 Thanks in advance for your help
    via by Adoudev,
  • We've got an old mac slave. After a recent upgrade of Jenkins I was unable to start a slave on this slave. It seems like the Jenkins slave is trying to load an incompatible class using the 1.5 jre. [07/17/13 15:16:33] [SSH] Checking java version of java [07/17/13 15:16:33] [SSH] java -version returned 1.5.0_13. [07/17/13 15:16:33] [SSH] Starting sftp client. [07/17/13 15:16:33] [SSH] Copying latest slave.jar... [07/17/13 15:16:33] [SSH] Copied 326,561 bytes. Expanded the channel window size to 4MB [07/17/13 15:16:33] [SSH] Starting slave process: cd '/hudson' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started java.io.IOException: Remote call on mac failed at hudson.remoting.Channel.call(Channel.java:722) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:451) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:347) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:695) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:489) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassFormatError: Failed to load hudson.slaves.SlaveComputer$SlaveVersion at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:291) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:316) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at java.lang.ClassLoader.defineClass(ClassLoader.java:520) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289) ... 22 more
    via by Christo Zietsman,
  • Projects build with jdk1.5.0_12 fail since the upgrade to Jenkins 1.520 <===[JENKINS REMOTING CAPACITY]===>channel started erreicht: 902 ERROR: Failed to parse POMs java.io.IOException: Remote call on Channel to Maven [D:\apps\Java\jdk1.5.0_12/bin/java, -cp, D:\apps\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.3.jar;D:\apps\Maven\apache-maven-2.2.1\boot\classworlds-1.1.jar, hudson.maven.agent.Main, D:\apps\Maven\apache-maven-2.2.1, D:\apps\Jenkins\war\WEB-INF\lib\remoting-2.24.jar, D:\apps\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.3.jar, 51928, D:\apps\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar] failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.maven.ProcessCache$MavenProcess.<init>(ProcessCache.java:112) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:694) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1593) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.ClassFormatError: Failed to load hudson.maven.ProcessCache$GetSystemProperties at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:291) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289) ... 22 more
    via by Bob Verbrugge,
  • I am configuring GIT with Gerrit event so I select "Choosing strategy" with value "Gerrit Trigger" then I get the following exception (Using value "Default" it works but instead of fetching my changes it fetch the parent branch) Detailed Java Exception: 17:31:41 hudson.util.IOException2: remote file operation failed: /proj/madridhss/jenkins/jobs-lab/GG-CI_1-Main_Prototype at hudson.remoting.Channel@a27760:esekilxxen1816 17:31:41 at hudson.FilePath.act(FilePath.java:901) 17:31:41 at hudson.FilePath.act(FilePath.java:878) 17:31:41 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) 17:31:41 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) 17:31:41 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) 17:31:41 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 17:31:41 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 17:31:41 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 17:31:41 at hudson.model.Run.execute(Run.java:1576) 17:31:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:31:41 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:31:41 at hudson.model.Executor.run(Executor.java:241) 17:31:41 Caused by: java.io.IOException: Remote call on esekilxxen1816 failed 17:31:41 at hudson.remoting.Channel.call(Channel.java:681) 17:31:41 at hudson.FilePath.act(FilePath.java:894) 17:31:41 ... 11 more 17:31:41 Caused by: java.lang.ClassFormatError: Failed to load com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser 17:31:41 at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:193) 17:31:41 at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:144) 17:31:41 at java.lang.ClassLoader.loadClass(ClassLoader.java:307) 17:31:41 at java.lang.ClassLoader.loadClass(ClassLoader.java:252) 17:31:41 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) 17:31:41 at java.lang.Class.forName0(Native Method) 17:31:41 at java.lang.Class.forName(Class.java:242) 17:31:41 at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) 17:31:41 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) 17:31:41 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910) 17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910) 17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910) 17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) 17:31:41 at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) 17:31:41 at hudson.remoting.UserRequest.perform(UserRequest.java:98) 17:31:41 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 17:31:41 at hudson.remoting.Request$2.run(Request.java:326) 17:31:41 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 17:31:41 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) 17:31:41 at java.util.concurrent.FutureTask.run(FutureTask.java:123) 17:31:41 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) 17:31:41 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) 17:31:41 at java.lang.Thread.run(Thread.java:595) 17:31:41 Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file 17:31:41 at java.lang.ClassLoader.defineClass1(Native Method) 17:31:41 at java.lang.ClassLoader.defineClass(ClassLoader.java:621) 17:31:41 at java.lang.ClassLoader.defineClass(ClassLoader.java:466) 17:31:41 at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:191) 17:31:41 ... 34 more
    via by Jacobo Jimenez,
  • Build failed in Jenkins: rat-jdk-1.5-maven-2 #66
    via by Apache Jenkins Server,
  • We've got an old mac slave. After a recent upgrade of Jenkins I was unable to start a slave on this slave. It seems like the Jenkins slave is trying to load an incompatible class using the 1.5 jre. [07/17/13 15:16:33] [SSH] Checking java version of java [07/17/13 15:16:33] [SSH] java -version returned 1.5.0_13. [07/17/13 15:16:33] [SSH] Starting sftp client. [07/17/13 15:16:33] [SSH] Copying latest slave.jar... [07/17/13 15:16:33] [SSH] Copied 326,561 bytes. Expanded the channel window size to 4MB [07/17/13 15:16:33] [SSH] Starting slave process: cd '/hudson' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started java.io.IOException: Remote call on mac failed at hudson.remoting.Channel.call(Channel.java:722) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:451) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:347) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:695) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:489) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassFormatError: Failed to load hudson.slaves.SlaveComputer$SlaveVersion at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:291) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:316) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at java.lang.ClassLoader.defineClass(ClassLoader.java:520) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289) ... 22 more
    via by Christo Zietsman,
  • Projects build with jdk1.5.0_12 fail since the upgrade to Jenkins 1.520 <===[JENKINS REMOTING CAPACITY]===>channel started erreicht: 902 ERROR: Failed to parse POMs java.io.IOException: Remote call on Channel to Maven [D:\apps\Java\jdk1.5.0_12/bin/java, -cp, D:\apps\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.3.jar;D:\apps\Maven\apache-maven-2.2.1\boot\classworlds-1.1.jar, hudson.maven.agent.Main, D:\apps\Maven\apache-maven-2.2.1, D:\apps\Jenkins\war\WEB-INF\lib\remoting-2.24.jar, D:\apps\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.3.jar, 51928, D:\apps\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar] failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.maven.ProcessCache$MavenProcess.<init>(ProcessCache.java:112) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:694) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1593) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.lang.ClassFormatError: Failed to load hudson.maven.ProcessCache$GetSystemProperties at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:291) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289) ... 22 more
    via by Bob Verbrugge,
  • I am configuring GIT with Gerrit event so I select "Choosing strategy" with value "Gerrit Trigger" then I get the following exception (Using value "Default" it works but instead of fetching my changes it fetch the parent branch) Detailed Java Exception: 17:31:41 hudson.util.IOException2: remote file operation failed: /proj/madridhss/jenkins/jobs-lab/GG-CI_1-Main_Prototype at hudson.remoting.Channel@a27760:esekilxxen1816 17:31:41 at hudson.FilePath.act(FilePath.java:901) 17:31:41 at hudson.FilePath.act(FilePath.java:878) 17:31:41 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) 17:31:41 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) 17:31:41 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) 17:31:41 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 17:31:41 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 17:31:41 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 17:31:41 at hudson.model.Run.execute(Run.java:1576) 17:31:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:31:41 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:31:41 at hudson.model.Executor.run(Executor.java:241) 17:31:41 Caused by: java.io.IOException: Remote call on esekilxxen1816 failed 17:31:41 at hudson.remoting.Channel.call(Channel.java:681) 17:31:41 at hudson.FilePath.act(FilePath.java:894) 17:31:41 ... 11 more 17:31:41 Caused by: java.lang.ClassFormatError: Failed to load com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser 17:31:41 at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:193) 17:31:41 at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:144) 17:31:41 at java.lang.ClassLoader.loadClass(ClassLoader.java:307) 17:31:41 at java.lang.ClassLoader.loadClass(ClassLoader.java:252) 17:31:41 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) 17:31:41 at java.lang.Class.forName0(Native Method) 17:31:41 at java.lang.Class.forName(Class.java:242) 17:31:41 at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) 17:31:41 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) 17:31:41 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910) 17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910) 17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910) 17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834) 17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 17:31:41 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) 17:31:41 at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) 17:31:41 at hudson.remoting.UserRequest.perform(UserRequest.java:98) 17:31:41 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 17:31:41 at hudson.remoting.Request$2.run(Request.java:326) 17:31:41 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 17:31:41 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) 17:31:41 at java.util.concurrent.FutureTask.run(FutureTask.java:123) 17:31:41 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) 17:31:41 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) 17:31:41 at java.lang.Thread.run(Thread.java:595) 17:31:41 Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file 17:31:41 at java.lang.ClassLoader.defineClass1(Native Method) 17:31:41 at java.lang.ClassLoader.defineClass(ClassLoader.java:621) 17:31:41 at java.lang.ClassLoader.defineClass(ClassLoader.java:466) 17:31:41 at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:191) 17:31:41 ... 34 more
    via by Jacobo Jimenez,
    • hudson.util.IOException2: remote file operation failed: /var/jenkins/workspace
    • ameOfMyJob at hudson.remoting.Channel@cb61b:runner-rh4u8 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:170) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:115) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:92) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on runner-rh4u8 failed at hudson.remoting.Channel.call(Channel.java:672) at hudson.FilePath.act(FilePath.java:831) ... 13 more Caused by: java.lang.ClassFormatError: Failed to load com.thalesgroup.dtkit.junit.CppUnit at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:154) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:152) ... 34 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    193 more bugmates