Looks like this member should be marked transient:
https://github.com/jenkinsci/aws-device-farm-plugin/blob/master/src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmTestResultAction.java#L39

On Fri, Jan 24, 2020 at 5:42 AM Shivam Pokhriyal <[email protected]>
wrote:

>  More Details:
>
> I checked the contents of jenkins.log file and found out exceptions there
> ```
> java.io.IOException: java.lang.RuntimeException: Failed to serialize
> hudson.model.Actionable#actions for class
> org.jenkinsci.plugins.workflow.job.WorkflowRun
>         at hudson.XmlFile.write(XmlFile.java:200)
>         at
> org.jenkinsci.plugins.workflow.support.PipelineIOUtils.writeByXStream(PipelineIOUtils.java:30)
>         at
> org.jenkinsci.plugins.workflow.job.WorkflowRun.save(WorkflowRun.java:1158)
>         at hudson.BulkChange.commit(BulkChange.java:98)
>         at
> org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1475)
>         at
> org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:493)
>         at
> org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:38)
>         at
> hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
>         at
> jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
>         at
> jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.RuntimeException: Failed to serialize
> hudson.model.Actionable#actions for class
> org.jenkinsci.plugins.workflow.job.WorkflowRun
>         at
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:254)
>         at
> hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:222)
>         at
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
>         at
> hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:208)
>         at
> hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:149)
>         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:193)
>         ... 14 more
> Caused by: java.lang.RuntimeException: Failed to serialize
> org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmTestResultAction#log for
> class org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmTestResultAction
>         at
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:254)
>         at
> hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:222)
>         at
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
>         at
> hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:208)
>         at
> hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:149)
>         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:263)
>         at
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:250)
>         ... 27 more
> Caused by: java.lang.UnsupportedOperationException: Refusing to marshal
> java.io.PrintStream for security reasons; see
> https://jenkins.io/redirect/class-filter/
>         at
> hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:542)
>         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:263)
>         at
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:250)
> ```
>
> Details about plugins used in jenkins:
> aws-device-farm version-1.27
>
> --
> 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/e4e0d4a9-a592-4cec-9445-ed3682fa1f4a%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/e4e0d4a9-a592-4cec-9445-ed3682fa1f4a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Website: http://earl-of-code.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/CAPiUgVcx%2B-%2B%2BUfotOVyyoF-BUEfNZt1cdFHDFscyCOPVh1-UkQ%40mail.gmail.com.

Reply via email to