java.lang.RuntimeException

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.

  • How to make mina serialized
    via Stack Overflow by ulysses
    ,
  • GitHub comment 10#38592810
    via GitHub by vpothnis
    ,
  • GitHub comment 10#38702890
    via GitHub by kiblerdude
    ,
  • During builds in Jenkins a slave the following failure occurs: {noformat} 00:13:06.167 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 00:13:06.167 java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.FilePath.act(FilePath.java:987) 00:13:06.168 at hudson.FilePath.act(FilePath.java:969) 00:13:06.168 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 00:13:06.168 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) 00:13:06.168 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) 00:13:06.168 at hudson.model.Run.execute(Run.java:1769) 00:13:06.168 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 00:13:06.168 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:13:06.168 at hudson.model.Executor.run(Executor.java:374) 00:13:06.168 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 00:13:06.168 at hudson.remoting.UserRequest.<init>(UserRequest.java:63) 00:13:06.168 at hudson.remoting.Channel.call(Channel.java:751) 00:13:06.168 at hudson.FilePath.act(FilePath.java:980) 00:13:06.168 ... 11 more 00:13:06.168 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 00:13:06.168 at hudson.remoting.UserRequest._serialize(UserRequest.java:158) 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:167) 00:13:06.168 ... 14 more 00:13:06.359 Skipping publisher since build result is FAILURE {noformat}
    via by Karl-Heinz Marbaise,
  • The slave is a remote linux server (host is linux too, although differing distros). It is connected to via SSH. I got this stacktrace in my build output: {code} 14:50:30 Deleting old workspace snapshot from #440. 14:50:30 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 14:50:30 hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/jobname/.repository at hudson.remoting.Channel@2a1f0c81:slavename 14:50:30 at hudson.FilePath.act(FilePath.java:847) 14:50:30 at hudson.FilePath.act(FilePath.java:824) 14:50:30 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 14:50:30 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 14:50:30 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 14:50:30 at hudson.model.Run.execute(Run.java:1541) 14:50:30 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) 14:50:30 at hudson.model.ResourceController.execute(ResourceController.java:88) 14:50:30 at hudson.model.Executor.run(Executor.java:236) 14:50:30 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@4d0b24be 14:50:30 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) 14:50:30 at hudson.remoting.UserRequest.<init>(UserRequest.java:62) 14:50:30 at hudson.remoting.Channel.call(Channel.java:663) 14:50:30 at hudson.FilePath.act(FilePath.java:840) 14:50:30 ... 11 more 14:50:30 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) 14:50:30 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) 14:50:30 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) 14:50:30 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) 14:50:30 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) 14:50:30 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) 14:50:30 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) 14:50:30 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) 14:50:30 at hudson.remoting.UserRequest._serialize(UserRequest.java:155) 14:50:30 at hudson.remoting.UserRequest.serialize(UserRequest.java:164) 14:50:30 ... 14 more {code}
    via by Larry Shatzer, Jr.,
  • During builds in Jenkins a slave the following failure occurs: {noformat} 00:13:06.167 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 00:13:06.167 java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.FilePath.act(FilePath.java:987) 00:13:06.168 at hudson.FilePath.act(FilePath.java:969) 00:13:06.168 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 00:13:06.168 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) 00:13:06.168 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) 00:13:06.168 at hudson.model.Run.execute(Run.java:1769) 00:13:06.168 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 00:13:06.168 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:13:06.168 at hudson.model.Executor.run(Executor.java:374) 00:13:06.168 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 00:13:06.168 at hudson.remoting.UserRequest.<init>(UserRequest.java:63) 00:13:06.168 at hudson.remoting.Channel.call(Channel.java:751) 00:13:06.168 at hudson.FilePath.act(FilePath.java:980) 00:13:06.168 ... 11 more 00:13:06.168 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 00:13:06.168 at hudson.remoting.UserRequest._serialize(UserRequest.java:158) 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:167) 00:13:06.168 ... 14 more 00:13:06.359 Skipping publisher since build result is FAILURE {noformat}
    via by Karl-Heinz Marbaise,
    • java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.disruptor$consume_loop_STAR_$fn__1077.invoke(disruptor.clj:94)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.util$async_loop$fn__551.invoke(util.clj:465)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at clojure.lang.AFn.run(AFn.java:24)[clojure-1.5.1.jar:na] at java.lang.Thread.run(Thread.java:744)[na:1.7.0_45] Caused by: java.lang.RuntimeException: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record at backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:41)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:75)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:486)[kryo-2.21.jar:na] at backtype.storm.serialization.KryoValuesSerializer.serializeInto(KryoValuesSerializer.java:44)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.serialization.KryoTupleSerializer.serialize(KryoTupleSerializer.java:44)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.daemon.worker$mk_transfer_fn$transfer_fn__5386.invoke(worker.clj:139)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.daemon.executor$start_batch_transfer__GT_worker_handler_BANG_$fn__5107.invoke(executor.clj:263)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.disruptor$clojure_handler$reify__1064.onEvent(disruptor.clj:58)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] ... 6 more Caused by: java.io.NotSerializableException: org.apache.avro.generic.GenericData$Record at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)[na:1.7.0_45] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)[na:1.7.0_45] at backtype.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:38)[storm-core-0.9.3.2.2.4.12-1.jar:0.9.3.2.2.4.12-1] ... 16 more

    Users with the same issue

    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,
    osvzsosvzs
    6 times, last one,
    84 more bugmates