-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
ubuntu 10.04 32 bit, Oracle Java 1.6.0_21, Tomcat 6.0.29, Maven 2.2.1
Hudson actually builds the working .war artifact but fails on some useless post-build step with the following in the console output:
[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)
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.