java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild

jenkins-ci.org | 6 months 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

    Hudson actually builds the working .war artifact but fails on some useless post-build step with the following in the console output: {noformat} [HUDSON] Archiving disabled - not archiving /opt/m/tomcat6/webapps/hudson/jobs/Network-Partners-Main/workspace/netw-reports.pom [HUDSON] Archiving disabled - not archiving build_cpcreports/partners.war [HUDSON] Archiving disabled - not archiving /opt/m/tomcat6/webapps/hudson/jobs/Network-Partners-Main/workspace/netw-reports.pom [HUDSON] Archiving disabled - not archiving build_cpcreports/partners.war [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild Cannot reference implicit element ---- Debugging information ---- implicit-element : [] referencing-element : /hudson.maven.MavenModuleSetBuild/actions/hudson.plugins.screenshot.ScreenshotAction/channel/executor/workers/java.util.concurrent.ThreadPoolExecutor_-Worker/thread/group/threads/java.util.TimerThread[6]/queue/queue/javax.jmdns.impl.tasks.RecordReaper/__jmDNSImpl/__listeners/java.util.Collections_-SynchronizedCollection/default/mutex ------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:840) at com.thoughtworks.xstream.XStream.marshal(XStream.java:829) at com.thoughtworks.xstream.XStream.toXML(XStream.java:804) at hudson.XmlFile.write(XmlFile.java:165) at hudson.model.Run.save(Run.java:1387) at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:371) at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:419) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:380) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy21.end(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.screenshot.ScreenshotAction#channel for class hudson.plugins.screenshot.ScreenshotAction at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164) {noformat} This is critical because this way we can't see which builds failed which actually succeeded. Please let me know if other info is needed.

    Jenkins JIRA | 7 years ago | mber
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
  2. 0

    [JENKINS-7074] FATAL ERROR Failed to serialize Cannot reference implicit element [] - Jenkins JIRA

    jenkins-ci.org | 10 months ago
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
  3. 0

    Hudson actually builds the working .war artifact but fails on some useless post-build step with the following in the console output: {noformat} [HUDSON] Archiving disabled - not archiving /opt/m/tomcat6/webapps/hudson/jobs/Network-Partners-Main/workspace/netw-reports.pom [HUDSON] Archiving disabled - not archiving build_cpcreports/partners.war [HUDSON] Archiving disabled - not archiving /opt/m/tomcat6/webapps/hudson/jobs/Network-Partners-Main/workspace/netw-reports.pom [HUDSON] Archiving disabled - not archiving build_cpcreports/partners.war [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild Cannot reference implicit element ---- Debugging information ---- implicit-element : [] referencing-element : /hudson.maven.MavenModuleSetBuild/actions/hudson.plugins.screenshot.ScreenshotAction/channel/executor/workers/java.util.concurrent.ThreadPoolExecutor_-Worker/thread/group/threads/java.util.TimerThread[6]/queue/queue/javax.jmdns.impl.tasks.RecordReaper/__jmDNSImpl/__listeners/java.util.Collections_-SynchronizedCollection/default/mutex ------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:840) at com.thoughtworks.xstream.XStream.marshal(XStream.java:829) at com.thoughtworks.xstream.XStream.toXML(XStream.java:804) at hudson.XmlFile.write(XmlFile.java:165) at hudson.model.Run.save(Run.java:1387) at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:371) at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:419) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:380) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy21.end(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.screenshot.ScreenshotAction#channel for class hudson.plugins.screenshot.ScreenshotAction at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164) {noformat} This is critical because this way we can't see which builds failed which actually succeeded. Please let me know if other info is needed.

    Jenkins JIRA | 7 years ago | mber
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-7074] FATAL ERROR Failed to serialize Cannot reference implicit element [] - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failed to serialize hudson.plugins.screenshot.ScreenshotAction#channel for class hudson.plugins.screenshot.ScreenshotAction

      at hudson.util.RobustReflectionConverter$2.writeField()
    2. Hudson
      RobustReflectionConverter$2.writeField
      1. hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
      1 frame