Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Mike Dillon, 1 year ago
Failed to serialize com.example.MyBuild#detailsMap for class com.example.MyBuild
via Jenkins JIRA by Mike Dillon, 1 year ago
Failed to serialize com.example.MyBuild#detailsMap for class com.example.MyBuild
via Google Groups by ddu...@gmail.com (JIRA), 1 year ago
Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild<br />
via Google Groups by pietro...@ubiss.it (JIRA), 4 weeks ago
Failed to serialize jenkins.model.Jenkins#securityRealm for class hudson.model.Hudson
via Google Groups by kkr...@gmail.com (JIRA), 1 month ago
via Google Groups by o.v.ne...@gmail.com (JIRA), 1 month ago
java.lang.ClassCastException: java.util.Collections$EmptyMap cannot be cast to java.util.TreeMap	at com.thoughtworks.xstream.converters.collections.TreeMapConverter.marshal(TreeMapConverter.java:50)	at hudson.util.CopyOnWriteMap$Tree$ConverterImpl.marshal(CopyOnWriteMap.java:221)	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 hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:168)	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:156)	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131)	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116)	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89)	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:837)	at com.thoughtworks.xstream.XStream.marshal(XStream.java:826)	at com.thoughtworks.xstream.XStream.toXML(XStream.java:801)	at hudson.XmlFile.write(XmlFile.java:161)	at hudson.model.Run.save(Run.java:1235)	at hudson.model.Run.run(Run.java:1162)	at hudson.model.Build.run(Build.java:74)	at hudson.model.ResourceController.execute(ResourceController.java:93)	at hudson.model.Executor.run(Executor.java:122)