Hi,

After upgrading  Build Flow Plugin
<https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin>   from 0.14
to 0.18 
and installing  Claim Plugin
<https://wiki.jenkins-ci.org/display/JENKINS/Claim+plugin>   I'm getting an
error when running fairly simple build flow dsl script:

import static hudson.model.Result.FAILURE
import static hudson.model.Result.SUCCESS

class test_trigger_arm_stub {

  def myDSL;

  def do_test_trigger(dsl, params) {
    out.println "do_test_trigger started"
    myDSL = dsl

    myDSL.build.setDisplayName(params["PARAMETER"])

    myDSL.retry 2, { myDSL.build("test",
                  PARAMETER: params["PARAMETER"])}

    out.println "do_test_trigger done"
  }
}


Any ideas what went wrong here? Downgrading the build flow plugin from 0.18
to 0.17 and then 0.14 didn't resolve the issue. Also, other dsl scripts seem
to execute just fine. Only this job fails. Jenkins core is 1580.3 and it
looks to be ok for these plugins.

ERROR: Failed to run DSL Script java.lang.RuntimeException: Failed to
serialize hudson.model.Actionable#actions for class
com.cloudbees.plugins.flow.FlowRun      at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) 
at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
 
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)  at
com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)     at
com.thoughtworks.xstream.XStream.toXML(XStream.java:988)        at
hudson.XmlFile.write(XmlFile.java:178)  at
hudson.model.Run.save(Run.java:1915)    at
hudson.model.Run.setDisplayName(Run.java:782)   at
hudson.model.Run$setDisplayName.call(Unknown Source)    at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
 
at
test_trigger_arm_stub.do_test_trigger_arm_stub(test_trigger_yb_arm_stub.groovy:13)
 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
at java.lang.reflect.Method.invoke(Method.java:606)     at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)        
at
org.codehaus.groovy.runtime.metaclass.MixinInstanceMetaMethod.invoke(MixinInstanceMetaMethod.java:53)
 
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)   at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079)         at
groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)   at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)  at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:723)  at
com.cloudbees.plugins.flow.FlowDelegate.invokeMethod(FlowDSL.groovy)    at
hudson.util.spring.ClosureScript.invokeMethod(ClosureScript.java:83)    at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72)
 
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
 
at Script1.run(Script1.groovy:3)        at Script1$run.call(Unknown Source)     
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
 
at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:84) 
at
com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219)
 
at hudson.model.Run.execute(Run.java:1745)      at
com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155)        at
hudson.model.ResourceController.execute(ResourceController.java:89)     at
hudson.model.Executor.run(Executor.java:240)    at
hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) Caused by:
java.lang.RuntimeException: Failed to serialize
hudson.model.CauseAction#causes for class hudson.model.CauseAction      at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:388)    at
hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:358)         
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 49 more Caused by: java.lang.RuntimeException: Failed to serialize
hudson.model.Cause$UpstreamCause#upstreamCauses for class
hudson.model.Cause$UpstreamCause        at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:388)    at
hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:358)         
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 66 more Caused by: java.lang.RuntimeException: Failed to serialize
hudson.model.Cause$UpstreamCause#upstreamCauses for class
hudson.model.Cause$UpstreamCause        at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:388)    at
hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:358)         
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 83 more Caused by: java.lang.RuntimeException: Failed to serialize
com.ericsson.duraci.triggering.MessageCause#messages for class
com.ericsson.duraci.triggering.MessageCause     at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 100 more Caused by: java.lang.RuntimeException: Failed to serialize
java.util.Arrays$ArrayList#a for class java.util.Arrays$ArrayList       at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 115 more Caused by: java.lang.RuntimeException: Failed to serialize
com.ericsson.duraci.eiffelmessage.messages.v3.EiffelMessageImpl#eventData
for class com.ericsson.duraci.eiffelmessage.messages.v3.EiffelMessageImpl 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 124 more Caused by: java.lang.RuntimeException: Failed to serialize
com.ericsson.duraci.eiffelmessage.messages.v3.events.virtual.GenericEiffelEventFieldsImpl#logReferences
for class
com.ericsson.duraci.eiffelmessage.messages.v3.events.EiffelArtifactNewEventImpl 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 139 more Caused by: java.lang.NullPointerException  at
java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:367) 
at java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:366) 
at java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412)         
at
java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412)    at
java.util.LinkedHashMap.newEntryIterator(LinkedHashMap.java:419)        at
java.util.HashMap$EntrySet.iterator(HashMap.java:1082)  at
com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 148 more FATAL: Failed to serialize hudson.model.Actionable#actions for
class com.cloudbees.plugins.flow.FlowRun java.lang.RuntimeException: Failed
to serialize hudson.model.Actionable#actions for class
com.cloudbees.plugins.flow.FlowRun      at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) 
at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
 
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)  at
com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)     at
com.thoughtworks.xstream.XStream.toXML(XStream.java:988)        at
hudson.XmlFile.write(XmlFile.java:178)  at
hudson.model.Run.save(Run.java:1915)    at
hudson.model.Run.setDisplayName(Run.java:782)   at
hudson.model.Run$setDisplayName.call(Unknown Source)    at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
 
at
test_trigger_arm_stub.do_test_trigger_arm_stub(test_trigger_yb_arm_stub.groovy:13)
 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
at java.lang.reflect.Method.invoke(Method.java:606)     at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)        
at
org.codehaus.groovy.runtime.metaclass.MixinInstanceMetaMethod.invoke(MixinInstanceMetaMethod.java:53)
 
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)   at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079)         at
groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)   at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)  at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:723)  at
com.cloudbees.plugins.flow.FlowDelegate.invokeMethod(FlowDSL.groovy)    at
hudson.util.spring.ClosureScript.invokeMethod(ClosureScript.java:83)    at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72)
 
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
 
at Script1.run(Script1.groovy:3)        at Script1$run.call(Unknown Source)     
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
 
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
 
at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:84) 
at
com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219)
 
at hudson.model.Run.execute(Run.java:1745)      at
com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155)        at
hudson.model.ResourceController.execute(ResourceController.java:89)     at
hudson.model.Executor.run(Executor.java:240)    at
hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) Caused by:
java.lang.RuntimeException: Failed to serialize
hudson.model.CauseAction#causes for class hudson.model.CauseAction      at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:388)    at
hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:358)         
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 49 more Caused by: java.lang.RuntimeException: Failed to serialize
hudson.model.Cause$UpstreamCause#upstreamCauses for class
hudson.model.Cause$UpstreamCause        at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:388)    at
hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:358)         
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 66 more Caused by: java.lang.RuntimeException: Failed to serialize
hudson.model.Cause$UpstreamCause#upstreamCauses for class
hudson.model.Cause$UpstreamCause        at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:388)    at
hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:358)         
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 83 more Caused by: java.lang.RuntimeException: Failed to serialize
com.ericsson.duraci.triggering.MessageCause#messages for class
com.ericsson.duraci.triggering.MessageCause     at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 100 more Caused by: java.lang.RuntimeException: Failed to serialize
java.util.Arrays$ArrayList#a for class java.util.Arrays$ArrayList       at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 115 more Caused by: java.lang.RuntimeException: Failed to serialize
com.ericsson.duraci.eiffelmessage.messages.v3.EiffelMessageImpl#eventData
for class com.ericsson.duraci.eiffelmessage.messages.v3.EiffelMessageImpl 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
 
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
 
at
com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 124 more Caused by: java.lang.RuntimeException: Failed to serialize
com.ericsson.duraci.eiffelmessage.messages.v3.events.virtual.GenericEiffelEventFieldsImpl#logReferences
for class
com.ericsson.duraci.eiffelmessage.messages.v3.events.EiffelArtifactNewEventImpl 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214)
 
at
hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
 
at
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
 
at
hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
 
at
hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 139 more Caused by: java.lang.NullPointerException  at
java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:367) 
at java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:366) 
at java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412)         
at
java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412)    at
java.util.LinkedHashMap.newEntryIterator(LinkedHashMap.java:419)        at
java.util.HashMap$EntrySet.iterator(HashMap.java:1082)  at
com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:74)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
 
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
 
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
 
at
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
 
at
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
 
... 148 more



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Build-flow-plugin-serialization-tp4756393.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1434719938887-4756393.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to