java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel

Jenkins JIRA | Miguel Algaba | 4 years ago
  1. 0

    We are running a job in one Ubuntu server 12.04 slave machine with the Doxygen plugin installed. The documentation is generated as part of the build process, and the 'html' folder is filled with all the Doxygen output as expected, however we have encounter a problem while publishing the Doxygen documentation: Publishing Doxygen HTML results. FATAL: error java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel at hudson.FilePath.writeObject(FilePath.java:1951) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:959) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) at hudson.remoting.UserRequest.perform(UserRequest.java:126) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Build step 'Publish Doxygen' changed build result to FAILURE Thanks!

    Jenkins JIRA | 4 years ago | Miguel Algaba
    java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel
  2. 0

    We are running a job in one Ubuntu server 12.04 slave machine with the Doxygen plugin installed. The documentation is generated as part of the build process, and the 'html' folder is filled with all the Doxygen output as expected, however we have encounter a problem while publishing the Doxygen documentation: Publishing Doxygen HTML results. FATAL: error java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel at hudson.FilePath.writeObject(FilePath.java:1951) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:959) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) at hudson.remoting.UserRequest.perform(UserRequest.java:126) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Build step 'Publish Doxygen' changed build result to FAILURE Thanks!

    Jenkins JIRA | 4 years ago | Miguel Algaba
    java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel
  3. 0

    Failed to serialize org.jenkinsci.plugins.workflow.actions.ErrorAction when declaring classes in csp-global-lib

    Google Groups | 2 years ago | Kenneth Baltrinic
    java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag#actions for class org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins plugin: FilePath.writeObject() exception when saving configuration

    GitHub | 1 year ago | victornoel
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to serialize hudson.maven.MavenModuleSet#postbuilders for class hudson.maven.MavenModuleSet
  6. 0

    [JIRA] [dependency-check-jenkins-plugin] (JENKINS-30864) FilePath.writeObject() exception when saving configuration

    Google Groups | 1 year ago | victor.noel@gmail.com (JIRA)
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to serialize hudson.maven.MavenModuleSet#postbuilders for class hudson.maven.MavenModuleSet

    2 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.IllegalStateException

      Can't send a remote FilePath to a different remote channel

      at hudson.FilePath.writeObject()
    2. Hudson
      FilePath.writeObject
      1. hudson.FilePath.writeObject(FilePath.java:1951)
      1 frame
    3. Java RT
      ObjectOutputStream.writeObject
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:959)
      6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
      7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
      8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
      9. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
      9 frames
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest._serialize(UserRequest.java:155)
      2. hudson.remoting.UserRequest.serialize(UserRequest.java:164)
      3. hudson.remoting.UserRequest.perform(UserRequest.java:126)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      5. hudson.remoting.Request$2.run(Request.java:287)
      5 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      6. java.lang.Thread.run(Thread.java:679)
      6 frames