Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8274

InvalidClassException when using copy-to-slave to copy from Linux to Windows

XMLWordPrintable

      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)
      

            rseguy Romain Seguy
            rseguy Romain Seguy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: