java.io.IOException: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354

Jenkins JIRA | Julian Kassat | 2 years ago
  1. 0

    Starting with docker-build-step 1.9, the plug-in is non-functional at least in free style build jobs (as I assume this version was somehow tested before release, it may work in other job types). Error message: FATAL: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354 java.io.IOException: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:738) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:67) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 12 more

    Jenkins JIRA | 2 years ago | Julian Kassat
    java.io.IOException: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354
  2. 0

    Starting with docker-build-step 1.9, the plug-in is non-functional at least in free style build jobs (as I assume this version was somehow tested before release, it may work in other job types). Error message: FATAL: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354 java.io.IOException: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:738) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:67) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 12 more

    Jenkins JIRA | 2 years ago | Julian Kassat
    java.io.IOException: Unable to serialize org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DockerCmdCallable@48869354
  3. 0

    Exception when parsing test results on build slaves

    GitHub | 1 year ago | S1artie
    java.io.IOException: remote file operation failed: /home/jenkins/workspace/xxx at hudson.remoting.Channel@8e3d98e:Local Docker-f899bbe6be02: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@5fd71032
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PTC Integrity Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 1 year ago
    java.io.IOException: remote file operation failed: d:\...\workspace\... at hudson.remoting.Channel@xxx:xxx_Node
  6. 0

    PTC Integrity Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 2 months ago
    java.io.IOException: remote file operation failed: d:\...\workspace\... at hudson.remoting.Channel@xxx:xxx_Node

  1. kjhdofjosvs 1 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. filpgame 4 times, last 2 weeks ago
  4. Handemelindo 15 times, last 3 weeks ago
  5. eti22 1 times, last 1 month ago
11 more registered users
50 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.NotSerializableException

    hudson.model.FreeStyleBuild

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    6. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    6 frames
  3. Hudson :: Remoting Layer
    Channel.call
    1. hudson.remoting.UserRequest._serialize(UserRequest.java:155)
    2. hudson.remoting.UserRequest.serialize(UserRequest.java:164)
    3. hudson.remoting.UserRequest.<init>(UserRequest.java:62)
    4. hudson.remoting.Channel.call(Channel.java:738)
    4 frames
  4. org.jenkinsci.plugins
    DockerBuilder.perform
    1. org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:67)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
    3. hudson.model.Build$BuildExecution.build(Build.java:198)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:159)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
    6. hudson.model.Run.execute(Run.java:1706)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:232)
    9 frames