hudson.util.IOException2: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503

Jenkins JIRA | Romain Seguy | 6 years ago
  1. 0

    {noformat} Copying 'xxx', excluding 'xxx' from 'xxx' on the master to 'xxx' on 'hudson.slaves.DumbSlave@18d8c2dd'. FATAL: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 hudson.util.IOException2: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 at com.michelin.cio.hudson.plugins.copytoslave.MyFilePath.copyRecursiveTo(MyFilePath.java:78) at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper.setUp(CopyToSlaveBuildWrapper.java:90) at hudson.model.Build$RunnerImpl.doRun(Build.java:132) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:420) at hudson.model.Run.run(Run.java:1273) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: java.util.concurrent.ExecutionException: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 at hudson.remoting.Channel$1.adapt(Channel.java:590) at hudson.remoting.Channel$1.adapt(Channel.java:585) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at com.michelin.cio.hudson.plugins.copytoslave.MyFilePath.copyRecursiveTo(MyFilePath.java:76) ... 7 more Caused by: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 at java.io.ObjectStreamClass.initNonProxy(Unknown Source) 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.readObject(Unknown Source) at hudson.remoting.UserRequest.perform(UserRequest.java:87) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 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 hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) {noformat}

    Jenkins JIRA | 6 years ago | Romain Seguy
    hudson.util.IOException2: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503
  2. 0

    {noformat} Copying 'xxx', excluding 'xxx' from 'xxx' on the master to 'xxx' on 'hudson.slaves.DumbSlave@18d8c2dd'. FATAL: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 hudson.util.IOException2: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 at com.michelin.cio.hudson.plugins.copytoslave.MyFilePath.copyRecursiveTo(MyFilePath.java:78) at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper.setUp(CopyToSlaveBuildWrapper.java:90) at hudson.model.Build$RunnerImpl.doRun(Build.java:132) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:420) at hudson.model.Run.run(Run.java:1273) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: java.util.concurrent.ExecutionException: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 at hudson.remoting.Channel$1.adapt(Channel.java:590) at hudson.remoting.Channel$1.adapt(Channel.java:585) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at com.michelin.cio.hudson.plugins.copytoslave.MyFilePath.copyRecursiveTo(MyFilePath.java:76) ... 7 more Caused by: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503 at java.io.ObjectStreamClass.initNonProxy(Unknown Source) 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.readObject(Unknown Source) at hudson.remoting.UserRequest.perform(UserRequest.java:87) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 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 hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) {noformat}

    Jenkins JIRA | 6 years ago | Romain Seguy
    hudson.util.IOException2: java.io.InvalidClassException: com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503
  3. 0

    Is it just me or does it seem impossible to run things on a Windows 7 slave? When I launch the JNLP agent just by clicking on the "Launch JNLP slave" the little slave app that opens says "Connected," and I see in the log it says "Connected." But, when I go to the Hudson web interface, it doesn't show that the slave is online for a long time after...sometimes up to an hour (other times within 10 minutes). If I do the same, in XP, it immediately shows in the Hudson "executor status." After it finally connects, I have a simple job that just has a batch command of "dir > yay.txt" and that will sometimes take forever to run. If I include source control, like Mercurial or Starteam, then I get an error (usually after quite some time...30 min or so) like the following: Building remotely on bio-buildhost hudson.util.IOException2: remote file operation failed: c:\hudson\workspace\Windows-Test at hudson.remoting.Channel@6ca9d5:bio-buildhost at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:383) at hudson.model.AbstractProject.checkout(AbstractProject.java:1118) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:480) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412) at hudson.model.Run.run(Run.java:1337) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Caused by: java.io.InvalidClassException: hudson.plugins.mercurial.MercurialSCM; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 3738641820223130746 at java.io.ObjectStreamClass.initNonProxy(Unknown Source) 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.readObject(Unknown Source) at hudson.remoting.UserRequest.deserialize(UserRequest.java:178) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 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 hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source) Finished: FAILURE I have opened every port I can think of. I also specified the port number of JNLP slaves to use. I initially tried getting this running with DCOM, but there is a different bug with Windows 7 that doesn't like the username@domain.com login that I don't think is resolved yet either. Every way I have tried, it doesn't seem to work. I am sure there might be something that I am missing, but I haven't turned up any google searches that allude to a solution. Please help!

    Jenkins JIRA | 6 years ago | keperry
    hudson.util.IOException2: remote file operation failed: c:\hudson\workspace\Windows-Test at hudson.remoting.Channel@6ca9d5:bio-buildhost
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Is it just me or does it seem impossible to run things on a Windows 7 slave? When I launch the JNLP agent just by clicking on the "Launch JNLP slave" the little slave app that opens says "Connected," and I see in the log it says "Connected." But, when I go to the Hudson web interface, it doesn't show that the slave is online for a long time after...sometimes up to an hour (other times within 10 minutes). If I do the same, in XP, it immediately shows in the Hudson "executor status." After it finally connects, I have a simple job that just has a batch command of "dir > yay.txt" and that will sometimes take forever to run. If I include source control, like Mercurial or Starteam, then I get an error (usually after quite some time...30 min or so) like the following: Building remotely on bio-buildhost hudson.util.IOException2: remote file operation failed: c:\hudson\workspace\Windows-Test at hudson.remoting.Channel@6ca9d5:bio-buildhost at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:383) at hudson.model.AbstractProject.checkout(AbstractProject.java:1118) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:480) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412) at hudson.model.Run.run(Run.java:1337) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Caused by: java.io.InvalidClassException: hudson.plugins.mercurial.MercurialSCM; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 3738641820223130746 at java.io.ObjectStreamClass.initNonProxy(Unknown Source) 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.readObject(Unknown Source) at hudson.remoting.UserRequest.deserialize(UserRequest.java:178) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 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 hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source) Finished: FAILURE I have opened every port I can think of. I also specified the port number of JNLP slaves to use. I initially tried getting this running with DCOM, but there is a different bug with Windows 7 that doesn't like the username@domain.com login that I don't think is resolved yet either. Every way I have tried, it doesn't seem to work. I am sure there might be something that I am missing, but I haven't turned up any google searches that allude to a solution. Please help!

    Jenkins JIRA | 6 years ago | keperry
    hudson.util.IOException2: remote file operation failed: c:\hudson\workspace\Windows-Test at hudson.remoting.Channel@6ca9d5:bio-buildhost
  6. 0

    Eclipse Community Forums: Hudson ยป Getting svn exception when we do a checkout from hudson and the build fials

    eclipse.org | 8 months ago
    java.io.InvalidClassException: hudson.scm.SubversionWorkspaceSelector$1; local class incompatible: stream classdesc serialVersionUID = -9083182694487986517, local class serialVersionUID = 6494337549896104453

  1. ajinkya_w 11 times, last 2 months ago
  2. ajinkya_w 11 times, last 2 months ago
  3. ivotje50 5 times, last 3 months ago
  4. bpbhat77 1 times, last 4 months ago
  5. pnaranja 1 times, last 4 months ago
18 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

    com.michelin.cio.hudson.plugins.copytoslave.MyFilePath$1; local class incompatible: stream classdesc serialVersionUID = -1456840691621219946, local class serialVersionUID = 3082383528432280503

    at java.io.ObjectStreamClass.initNonProxy()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    2. java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    3. java.io.ObjectInputStream.readClassDesc(Unknown Source)
    4. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    5. java.io.ObjectInputStream.readObject0(Unknown Source)
    6. java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    7. java.io.ObjectInputStream.readSerialData(Unknown Source)
    8. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    9. java.io.ObjectInputStream.readObject0(Unknown Source)
    10. java.io.ObjectInputStream.readObject(Unknown Source)
    10 frames
  3. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:87)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:47)
    3. hudson.remoting.Request$2.run(Request.java:236)
    3 frames
  4. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    3. java.util.concurrent.FutureTask.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    5 frames
  5. Hudson :: Remoting Layer
    Engine$1$1.run
    1. hudson.remoting.Engine$1$1.run(Engine.java:54)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame