filesjava.io.IOException: Unable to serialize com.urbancode.ds.jenkins.plugins.urbandeploypublisher.PublishArtifactsCallable@19e0a33 java.io.IOException: Unable to serialize com.urbancode.ds.jenkins.plugins.urbandeploypublisher.PublishArtifactsCallable@19e0a33

ibm.com | 2 weeks 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

    Jenkins Publish artifacts failed - dWAnswers

    ibm.com | 2 weeks ago
    filesjava.io.IOException: Unable to serialize com.urbancode.ds.jenkins.plugins.urbandeploypublisher.PublishArtifactsCallable@19e0a33 java.io.IOException: Unable to serialize com.urbancode.ds.jenkins.plugins.urbandeploypublisher.PublishArtifactsCallable@19e0a33
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Because of the anonymous callable in Cucumber Test Result Archiver we need to make the class serializable, otherwise you will get the exception: {noformat} ERROR: Failed to archive cucumber reports java.io.IOException: Unable to serialize org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver$1@ at hudson.remoting.UserRequest.serialize(UserRequest.java:169) at hudson.remoting.UserRequest.<init>(UserRequest.java:63) at hudson.remoting.Channel.call(Channel.java:750) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:115) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1783) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver 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:158) at hudson.remoting.UserRequest.serialize(UserRequest.java:167) ... 12 more {noformat}

    Jenkins JIRA | 2 years ago | Steven Christou
    java.io.IOException: Unable to serialize org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver$1@
  4. 0

    Because of the anonymous callable in Cucumber Test Result Archiver we need to make the class serializable, otherwise you will get the exception: {noformat} ERROR: Failed to archive cucumber reports java.io.IOException: Unable to serialize org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver$1@ at hudson.remoting.UserRequest.serialize(UserRequest.java:169) at hudson.remoting.UserRequest.<init>(UserRequest.java:63) at hudson.remoting.Channel.call(Channel.java:750) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:115) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1783) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver 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:158) at hudson.remoting.UserRequest.serialize(UserRequest.java:167) ... 12 more {noformat}

    Jenkins JIRA | 2 years ago | Steven Christou
    java.io.IOException: Unable to serialize org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver$1@

  1. batwalrus76 14 times, last 2 weeks ago
  2. treefolk 12 times, last 4 weeks ago
  3. Hronom 1 times, last 1 month ago
  4. kjhdofjosvs 1 times, last 3 months ago
  5. filpgame 4 times, last 3 months ago
13 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

    com.urbancode.commons.httpcomponentsutil.PreemptiveAuthHttpClient

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
    10 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. com.urbancode.ds
    UrbanDeployPublisher.perform
    1. com.urbancode.ds.jenkins.plugins.urbandeploypublisher.UrbanDeployPublisher.perform(UrbanDeployPublisher.java:261)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:709)
    4. hudson.model.Build$BuildExecution.post2(Build.java:182)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:658)
    6. hudson.model.Run.execute(Run.java:1729)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:231)
    9 frames