mjava.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d

Jenkins JIRA | kimukou_26 | 5 years ago
  1. 0

    Use Gradle Wrapper Job running ,error occuerd, But use gradle sdk(pre install), running ok. ------------------------------------------------- ユーザーanonymousが実行 cent64 でビルドします。 [copy-to-slave] Copying 'cent64_build.gradle', excluding nothing, from 'file:/D:/workspace/SDLoaderDesktopSWT_WORK/.jenkins/userContent/' on the master to 'file:/opt/XXX/' on 'cent64'. [envfile] Reading environment variables from file. [envfile] Path to file: D:\workspace\SDLoaderDesktopSWT_WORK\.jenkins/userContent/cent64_envfile.txt [envfile] JAVA_OPTS=-Dgroovy.source.encoding=UTF-8 -Dfile.encoding=UTF-8 [envfile] GRIFFON_HOME=/opt/griffon-0.9.3-beta-1 [envfile] JAVA_HOME=/opt/jdk [envfile] GROOVY_HOME=/opt/groovy-1.8.0 [envfile] GRAILS_HOME=/opt/grails-1.3.7 FATAL: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d [8mha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=[0mjava.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:666) at hudson.plugins.gradle.GradleInstallation.getWrapperExecutable(GradleInstallation.java:72) at hudson.plugins.gradle.Gradle.perform(Gradle.java:151) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:430) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:146) Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 13 more

    Jenkins JIRA | 5 years ago | kimukou_26
    mjava.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d
  2. 0

    Use Gradle Wrapper Job running ,error occuerd, But use gradle sdk(pre install), running ok. ------------------------------------------------- ユーザーanonymousが実行 cent64 でビルドします。 [copy-to-slave] Copying 'cent64_build.gradle', excluding nothing, from 'file:/D:/workspace/SDLoaderDesktopSWT_WORK/.jenkins/userContent/' on the master to 'file:/opt/XXX/' on 'cent64'. [envfile] Reading environment variables from file. [envfile] Path to file: D:\workspace\SDLoaderDesktopSWT_WORK\.jenkins/userContent/cent64_envfile.txt [envfile] JAVA_OPTS=-Dgroovy.source.encoding=UTF-8 -Dfile.encoding=UTF-8 [envfile] GRIFFON_HOME=/opt/griffon-0.9.3-beta-1 [envfile] JAVA_HOME=/opt/jdk [envfile] GROOVY_HOME=/opt/groovy-1.8.0 [envfile] GRAILS_HOME=/opt/grails-1.3.7 FATAL: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d [8mha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=[0mjava.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:666) at hudson.plugins.gradle.GradleInstallation.getWrapperExecutable(GradleInstallation.java:72) at hudson.plugins.gradle.Gradle.perform(Gradle.java:151) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:430) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:146) Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 13 more

    Jenkins JIRA | 5 years ago | kimukou_26
    mjava.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@edc33d
  3. 0

    Anytime I try to run Integrity plugin jobs on slave nodes in Jenkins I get an error after the change log is generated. The slave does resync the sandbox on the slave, but then errors out after the log is generated on the master. I found another plugin on git that reported the same issue, maybe their fix would be helpful: https://github.com/integrity-tf/jenkins/issues/8 Error Log: Building remotely on Slave1 in workspace D:\Jenkins\workspace\AlphaX7 - Resync Binaries Change Log: http://jenkins/job/AlphaX7%20-%20Resync%20Binaries/11/changes Build Log: http://jenkins/job/AlphaX7%20-%20Resync%20Binaries/11/console Preparing to execute si projectinfo for #/binaries#d=8.06-Binaries_Ocwen_FCBK_AlphaX7 Preparing to execute si viewproject for #/binaries#d=8.06-Binaries_Ocwen_FCBK_AlphaX7 Checkout directory is D:\Workflow\Environments\AlphaX7\binaries Successfully updated workspace with 0 updates and cleaned up 0 files! Saving current Integrity Project configuration... Writing build change log... Change log successfully generated: D:\Jenkins\jobs\AlphaX7 - Resync Binaries\builds\11\changelog.xml java.io.IOException: remote file operation failed: D:\Jenkins\workspace\AlphaX7 - Resync Binaries at hudson.remoting.Channel@6570d0cd:Slave1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe at hudson.FilePath.act(FilePath.java:987) at hudson.FilePath.act(FilePath.java:969) at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:820) at hudson.model.AbstractProject.checkout(AbstractProject.java:1277) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe at hudson.remoting.UserRequest.serialize(UserRequest.java:169) at hudson.remoting.UserRequest.<init>(UserRequest.java:63) at hudson.remoting.Channel.call(Channel.java:776) at hudson.FilePath.act(FilePath.java:980) ... 10 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at hudson.remoting.UserRequest._serialize(UserRequest.java:158) at hudson.remoting.UserRequest.serialize(UserRequest.java:167) ... 13 more Finished: FAILURE

    Jenkins JIRA | 1 year ago | Rich Hopkins
    java.io.IOException: remote file operation failed: D:\Jenkins\workspace\AlphaX7 - Resync Binaries at hudson.remoting.Channel@6570d0cd:Slave1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Anytime I try to run Integrity plugin jobs on slave nodes in Jenkins I get an error after the change log is generated. The slave does resync the sandbox on the slave, but then errors out after the log is generated on the master. I found another plugin on git that reported the same issue, maybe their fix would be helpful: https://github.com/integrity-tf/jenkins/issues/8 Error Log: Building remotely on Slave1 in workspace D:\Jenkins\workspace\AlphaX7 - Resync Binaries Change Log: http://jenkins/job/AlphaX7%20-%20Resync%20Binaries/11/changes Build Log: http://jenkins/job/AlphaX7%20-%20Resync%20Binaries/11/console Preparing to execute si projectinfo for #/binaries#d=8.06-Binaries_Ocwen_FCBK_AlphaX7 Preparing to execute si viewproject for #/binaries#d=8.06-Binaries_Ocwen_FCBK_AlphaX7 Checkout directory is D:\Workflow\Environments\AlphaX7\binaries Successfully updated workspace with 0 updates and cleaned up 0 files! Saving current Integrity Project configuration... Writing build change log... Change log successfully generated: D:\Jenkins\jobs\AlphaX7 - Resync Binaries\builds\11\changelog.xml java.io.IOException: remote file operation failed: D:\Jenkins\workspace\AlphaX7 - Resync Binaries at hudson.remoting.Channel@6570d0cd:Slave1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe at hudson.FilePath.act(FilePath.java:987) at hudson.FilePath.act(FilePath.java:969) at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:820) at hudson.model.AbstractProject.checkout(AbstractProject.java:1277) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe at hudson.remoting.UserRequest.serialize(UserRequest.java:169) at hudson.remoting.UserRequest.<init>(UserRequest.java:63) at hudson.remoting.Channel.call(Channel.java:776) at hudson.FilePath.act(FilePath.java:980) ... 10 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at hudson.remoting.UserRequest._serialize(UserRequest.java:158) at hudson.remoting.UserRequest.serialize(UserRequest.java:167) ... 13 more Finished: FAILURE

    Jenkins JIRA | 1 year ago | Rich Hopkins
    java.io.IOException: remote file operation failed: D:\Jenkins\workspace\AlphaX7 - Resync Binaries at hudson.remoting.Channel@6570d0cd:Slave1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe
  6. 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

  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(Unknown Source)
    2. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
    3. java.io.ObjectOutputStream.writeSerialData(Unknown Source)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
    5. java.io.ObjectOutputStream.writeObject0(Unknown Source)
    6. java.io.ObjectOutputStream.writeObject(Unknown Source)
    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:666)
    4 frames
  4. hudson.plugins.gradle
    Gradle.perform
    1. hudson.plugins.gradle.GradleInstallation.getWrapperExecutable(GradleInstallation.java:72)
    2. hudson.plugins.gradle.Gradle.perform(Gradle.java:151)
    2 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664)
    3. hudson.model.Build$RunnerImpl.build(Build.java:177)
    4. hudson.model.Build$RunnerImpl.doRun(Build.java:139)
    5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:430)
    6. hudson.model.Run.run(Run.java:1376)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:146)
    9 frames