hudson.util.IOException2: remote file operation failed: /home/XXX/.jenkins/slave/workspace/mybuild at hudson.remoting.Channel@20cccf9c:remoteserver1

Jenkins JIRA | Mike Liu | 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

    Installed Jenkins 1.527 and Jacoco plugin 1.0.12. When running build (on remote slave) with "Record JaCoCo coverage report" enabled, the build failed with the following exception on the master: hudson.util.IOException2: remote file operation failed: /home/XXX/.jenkins/slave/workspace/mybuild at hudson.remoting.Channel@20cccf9c:remoteserver1 at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:882) at hudson.plugins.jacoco.JacocoPublisher.resolveDirPaths(JacocoPublisher.java:253) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:337) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1622) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.io.InvalidClassException: hudson.plugins.jacoco.JacocoPublisher$1; local class incompatible: stream classdesc serialVersionUID = 1552178457453558870, local class serialVersionUID = 4749374988279249112 at java.io.InvalidClassException.<init>(InvalidClassException.java:62) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:601) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365) 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: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:736) Aug 19, 2013 1:26:41 AM hudson.model.AbstractBuild$AbstractBuildExecution performAllBuildSteps WARNING: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:339) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1622) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Any help will be greatly appreciated! Our entire CI ecosystem is halted now since due to the above errors all build are failing. Thanks in advance, Mike

    Jenkins JIRA | 4 years ago | Mike Liu
    hudson.util.IOException2: remote file operation failed: /home/XXX/.jenkins/slave/workspace/mybuild at hudson.remoting.Channel@20cccf9c:remoteserver1
  2. 0

    Installed Jenkins 1.527 and Jacoco plugin 1.0.12. When running build (on remote slave) with "Record JaCoCo coverage report" enabled, the build failed with the following exception on the master: hudson.util.IOException2: remote file operation failed: /home/XXX/.jenkins/slave/workspace/mybuild at hudson.remoting.Channel@20cccf9c:remoteserver1 at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:882) at hudson.plugins.jacoco.JacocoPublisher.resolveDirPaths(JacocoPublisher.java:253) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:337) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1622) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: java.io.InvalidClassException: hudson.plugins.jacoco.JacocoPublisher$1; local class incompatible: stream classdesc serialVersionUID = 1552178457453558870, local class serialVersionUID = 4749374988279249112 at java.io.InvalidClassException.<init>(InvalidClassException.java:62) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:601) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365) 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: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:736) Aug 19, 2013 1:26:41 AM hudson.model.AbstractBuild$AbstractBuildExecution performAllBuildSteps WARNING: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:339) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1622) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Any help will be greatly appreciated! Our entire CI ecosystem is halted now since due to the above errors all build are failing. Thanks in advance, Mike

    Jenkins JIRA | 4 years ago | Mike Liu
    hudson.util.IOException2: remote file operation failed: /home/XXX/.jenkins/slave/workspace/mybuild at hudson.remoting.Channel@20cccf9c:remoteserver1
  3. 0

    Jenkins Issue: local class incompatible by comparing serialVersionUID

    Stack Overflow | 4 years ago | Emilio
    java.io.InvalidClassException: hudson.maven.PlexusModuleContributor$1; local class incompatible: stream classdesc serialVersionUID = -647770169695782116, local class serialVersionUID = 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After upgrading jenkins to latest I'm having issues like this one below: Building remotely on jenkins-ptc in workspace /home/jenkins/workspace/PTC-EA_integration-tests-deploy java.io.InvalidClassException: hudson.tools.JDKInstaller$Platform$1; local class incompatible: stream classdesc serialVersionUID = -8896131865330068025, local class serialVersionUID = 6097725669216027397 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:632) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365) 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: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:736)

    Jenkins JIRA | 5 years ago | Krzysztof Pędrys
    java.io.InvalidClassException: hudson.tools.JDKInstaller$Platform$1; local class incompatible: stream classdesc serialVersionUID = -8896131865330068025, local class serialVersionUID = 6097725669216027397
  6. 0

    Hi, I am running jenkins v.1487 through tomcat7. I get the error WARNING: Failed to monitor user at slave for Free Swap Space java.io.InvalidClassException: hudson.node_monitors.SwapSpaceMonitor$MonitorTask; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 1184166703664094906 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) 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: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:619) It seems that this is a bug. I am not familiar enough with jenkins to assess if it can cause great problems, or not. BR, David

    Jenkins JIRA | 4 years ago | David Gang
    java.io.InvalidClassException: hudson.node_monitors.SwapSpaceMonitor$MonitorTask; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 1184166703664094906

  1. Hronom 1 times, last 3 months ago
  2. ajinkya_w 11 times, last 7 months ago
  3. ivotje50 5 times, last 8 months ago
  4. bpbhat77 1 times, last 9 months ago
  5. pnaranja 1 times, last 9 months ago
17 more registered users
20 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.io.InvalidClassException

    hudson.plugins.jacoco.JacocoPublisher$1; local class incompatible: stream classdesc serialVersionUID = 1552178457453558870, local class serialVersionUID = 4749374988279249112

    at java.io.InvalidClassException.<init>()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.InvalidClassException.<init>(InvalidClassException.java:62)
    2. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:601)
    3. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
    4. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
    5. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
    6. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
    7. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
    8. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
    9. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
    10. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
    11. java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
    11 frames
  3. 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:326)
    5. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    5 frames
  4. 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:736)
    5 frames