mjava.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by kimukou_26,
  • 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
    via by kimukou_26,
  • 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
    via by Rich Hopkins,
  • 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
    via by Rich Hopkins,
  • PTC Integrity Plugin - Jenkins - Jenkins Wiki
    via by Unknown author,
  • PTC Integrity Plugin - Jenkins - Jenkins Wiki
    via by Unknown author,
  • I switched build back to "Use Gradle Wrapper" in "Invoke Gradle script" configuration from a previously manually defined Gradle. This may be related to master/slave configuration, i.e. I think that the problem exists because the changed Gradle plugin configuration can't be synced to the slave. FATAL: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@100e3d5 java.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@100e3d5 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:642) at hudson.plugins.gradle.GradleInstallation.getWrapperExecutable(GradleInstallation.java:72) at hudson.plugins.gradle.Gradle.perform(Gradle.java:154) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) 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:423) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 13 more
    via by Joern Huxhorn,
  • Master Jenkins: openSUSE 11.3 (x86_64) VERSION = 11.3 Linux bambpmsauto 2.6.34.7-0.4-desktop #1 SMP PREEMPT 2010-10-07 19:07:51 +0200 x86_64 x86_64 x86_64 GNU/Linux We tried to use GRADLE wrapper and the error below appeared. It happens on any slave regardless the OS of the slace: Unpacking http://services.gradle.org/distributions/gradle-1.0-rc-3-bin.zip to c:/jenkins/tools/Gradle/gradle1.0-rc-3 on vmbam06.eur.ad.sag FATAL: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@df1532a java.io.IOException: Unable to serialize hudson.plugins.gradle.GradleInstallation$2@df1532a at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:662) 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$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1488) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 13 more
    via by Vassilena Treneva,
  • StarTeam Polling does not appear to work when configured to run on a Slave (tested Windows 2003). Receiving the below error when the poll occurs. The error can be viewed in the StarTeam Polling Log. SCM Poll Config: */15 * * * * Started on May 14, 2012 1:00:39 PM FATAL: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15 hudson.util.IOException2: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:181) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1300) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315) at java.util.concurrent.FutureTask.run(FutureTask.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920) at java.lang.Thread.run(Thread.java:736) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@17a817a8 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.FilePath.act(FilePath.java:747) ... 13 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1165) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:332) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) at hudson.remoting.UserRequest.<init>(UserRequest.java:59) ... 15 more Done. Took 48 ms No changes
    via by John Cook,
    • mjava.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

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Hiren AmaliyarHiren Amaliyar
    11 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    84 more bugmates