• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins ver. 1.652

      FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
      java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
      	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:1896)
      	at hudson.model.Run.setDisplayName(Run.java:784)
      	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:50)
      	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:37)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:156)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      	at hudson.model.Run.execute(Run.java:1738)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuilder$MultiJobAction#build for class com.tikal.jenkins.plugins.multijob.MultiJobBuilder$MultiJobAction
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
      	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:224)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
      	... 23 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuild#subBuildsMap for class com.tikal.jenkins.plugins.multijob.MultiJobBuild
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
      	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:224)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
      	... 38 more
      Caused by: java.util.ConcurrentModificationException
      	{{monospaced text}}at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:1463)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:1461)
      	at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:75)
      	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:224)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
      	... 47 more
      

          [JENKINS-33527] Intermittent exception thrown when using plugin

          Also seeing similar assert (Jenkins 1.635):

          15:40:43 No JDK named ‘null’ found
          15:40:43 No JDK named ‘null’ found
          15:40:43 FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
          15:40:44 java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          15:40:44 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          15:40:44 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
          15:40:44 	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
          15:40:44 	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
          15:40:44 	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
          15:40:44 	at hudson.XmlFile.write(XmlFile.java:178)
          15:40:44 	at hudson.model.Run.save(Run.java:1899)
          15:40:44 	at hudson.model.Run.setDisplayName(Run.java:787)
          15:40:44 	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:50)
          15:40:44 	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:37)
          15:40:44 	at hudson.model.Build$BuildExecution.doRun(Build.java:156)
          15:40:44 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
          15:40:44 	at hudson.model.Run.execute(Run.java:1741)
          15:40:44 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          15:40:44 	at hudson.model.ResourceController.execute(ResourceController.java:98)
          15:40:44 	at hudson.model.Executor.run(Executor.java:410)
          15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuilder$MultiJobAction#build for class com.tikal.jenkins.plugins.multijob.MultiJobBuilder$MultiJobAction
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          15:40:44 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          15:40:44 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          15:40:44 	... 23 more
          15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuild#subBuilds for class com.tikal.jenkins.plugins.multijob.MultiJobBuild
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          15:40:44 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          15:40:44 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          15:40:44 	... 38 more
          15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuild$SubBuild#build for class com.tikal.jenkins.plugins.multijob.MultiJobBuild$SubBuild
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          15:40:44 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          15:40:44 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          15:40:44 	... 47 more
          15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          15:40:44 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          15:40:44 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          15:40:44 	... 62 more
          15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.git.util.BuildData#buildsByBranchName for class hudson.plugins.git.util.BuildData
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          15:40:44 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          15:40:44 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          15:40:44 	... 71 more
          15:40:44 Caused by: java.util.ConcurrentModificationException
          15:40:44 	at java.util.HashMap$HashIterator.nextNode(Unknown Source)
          15:40:44 	at java.util.HashMap$EntryIterator.next(Unknown Source)
          15:40:44 	at java.util.HashMap$EntryIterator.next(Unknown Source)
          15:40:44 	at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:75)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          15:40:44 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          15:40:44 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          15:40:44 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224)
          15:40:44 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          15:40:44 	... 86 more
          15:40:44 Archiving artifacts
          

          Laine Walker-Avina added a comment - Also seeing similar assert (Jenkins 1.635): 15:40:43 No JDK named ‘ null ’ found 15:40:43 No JDK named ‘ null ’ found 15:40:43 FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild 15:40:44 java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) 15:40:44 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) 15:40:44 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 15:40:44 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) 15:40:44 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) 15:40:44 at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) 15:40:44 at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) 15:40:44 at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) 15:40:44 at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) 15:40:44 at hudson.XmlFile.write(XmlFile.java:178) 15:40:44 at hudson.model.Run.save(Run.java:1899) 15:40:44 at hudson.model.Run.setDisplayName(Run.java:787) 15:40:44 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:50) 15:40:44 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:37) 15:40:44 at hudson.model.Build$BuildExecution.doRun(Build.java:156) 15:40:44 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) 15:40:44 at hudson.model.Run.execute(Run.java:1741) 15:40:44 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 15:40:44 at hudson.model.ResourceController.execute(ResourceController.java:98) 15:40:44 at hudson.model.Executor.run(Executor.java:410) 15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuilder$MultiJobAction#build for class com.tikal.jenkins.plugins.multijob.MultiJobBuilder$MultiJobAction 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) 15:40:44 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) 15:40:44 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 15:40:44 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) 15:40:44 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) 15:40:44 at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) 15:40:44 at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) 15:40:44 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) 15:40:44 ... 23 more 15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuild#subBuilds for class com.tikal.jenkins.plugins.multijob.MultiJobBuild 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) 15:40:44 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) 15:40:44 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 15:40:44 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) 15:40:44 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) 15:40:44 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) 15:40:44 ... 38 more 15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize com.tikal.jenkins.plugins.multijob.MultiJobBuild$SubBuild#build for class com.tikal.jenkins.plugins.multijob.MultiJobBuild$SubBuild 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) 15:40:44 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) 15:40:44 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 15:40:44 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) 15:40:44 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) 15:40:44 at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) 15:40:44 at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) 15:40:44 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) 15:40:44 ... 47 more 15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) 15:40:44 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) 15:40:44 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 15:40:44 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) 15:40:44 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) 15:40:44 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) 15:40:44 ... 62 more 15:40:44 Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.git.util.BuildData#buildsByBranchName for class hudson.plugins.git.util.BuildData 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) 15:40:44 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) 15:40:44 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) 15:40:44 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) 15:40:44 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) 15:40:44 at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) 15:40:44 at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) 15:40:44 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) 15:40:44 ... 71 more 15:40:44 Caused by: java.util.ConcurrentModificationException 15:40:44 at java.util.HashMap$HashIterator.nextNode(Unknown Source) 15:40:44 at java.util.HashMap$EntryIterator.next(Unknown Source) 15:40:44 at java.util.HashMap$EntryIterator.next(Unknown Source) 15:40:44 at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:75) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) 15:40:44 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 15:40:44 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) 15:40:44 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) 15:40:44 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) 15:40:44 ... 86 more 15:40:44 Archiving artifacts

          We also have a problem with this - Xvnc plugin!
          The latest version of the plugin 1.23
          version jenkins - 1.635

          ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
          java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          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.Descriptor.save(Descriptor.java:855)
          at hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32)
          at hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51)
          at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
          at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94)
          at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:145)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
          at hudson.model.Run.execute(Run.java:1738)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:410)
          Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.DisplayAllocator#allocatedNumbers for class hudson.plugins.xvnc.DisplayAllocator
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          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.MapConverter.marshal(MapConverter.java:79)
          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:224)
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          ... 25 more
          Caused by: java.util.ConcurrentModificationException
          at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
          at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
          at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73)
          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:224)
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          ... 40 more
          project=hudson.maven.MavenModuleSet@74638430[test02-test-web]
          project.getModules()=[hudson.maven.MavenModule@60f6140b[test02-test-web/dp.st.selenium:selenium_java_tests][test02-test-web/dp.st.selenium:selenium_java_tests][relativePath:tests/selenium]]
          project.getRootModule()=hudson.maven.MavenModule@60f6140b[test02-test-web/dp.st.selenium:selenium_java_tests][test02-test-web/dp.st.selenium:selenium_java_tests][relativePath:tests/selenium]
          FATAL: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl
          java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          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.Descriptor.save(Descriptor.java:855)
          at hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32)
          at hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51)
          at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
          at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94)
          at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:145)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
          at hudson.model.Run.execute(Run.java:1738)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:410)
          Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.DisplayAllocator#allocatedNumbers for class hudson.plugins.xvnc.DisplayAllocator
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
          at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
          at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
          at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
          at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
          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.MapConverter.marshal(MapConverter.java:79)
          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:224)
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          ... 25 more
          Caused by: java.util.ConcurrentModificationException
          at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
          at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
          at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73)
          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:224)
          at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211)
          ... 40 more

          Mykolay Khomych added a comment - We also have a problem with this - Xvnc plugin! The latest version of the plugin 1.23 version jenkins - 1.635 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 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.Descriptor.save(Descriptor.java:855) at hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32) at hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104) at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94) at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:145) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.DisplayAllocator#allocatedNumbers for class hudson.plugins.xvnc.DisplayAllocator at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 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.MapConverter.marshal(MapConverter.java:79) 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:224) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) ... 25 more Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$KeyIterator.next(HashMap.java:1453) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73) 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:224) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) ... 40 more project=hudson.maven.MavenModuleSet@74638430 [test02-test-web] project.getModules()=[hudson.maven.MavenModule@60f6140b [test02-test-web/dp.st.selenium:selenium_java_tests] [test02-test-web/dp.st.selenium:selenium_java_tests] [relativePath:tests/selenium] ] project.getRootModule()=hudson.maven.MavenModule@60f6140b [test02-test-web/dp.st.selenium:selenium_java_tests] [test02-test-web/dp.st.selenium:selenium_java_tests] [relativePath:tests/selenium] FATAL: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 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.Descriptor.save(Descriptor.java:855) at hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32) at hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104) at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94) at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:145) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.DisplayAllocator#allocatedNumbers for class hudson.plugins.xvnc.DisplayAllocator at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) 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.MapConverter.marshal(MapConverter.java:79) 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:224) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) ... 25 more Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$KeyIterator.next(HashMap.java:1453) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73) 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:224) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) ... 40 more

          Closing as duplicate of JENKINS-6644.

          Oliver Gondža added a comment - Closing as duplicate of JENKINS-6644 .

          Alex Taylor added a comment -

          So this defect was closed because it was thought to be caused by https://issues.jenkins-ci.org/browse/JENKINS-6644 but I am seeing that downgrading the build name setter plugin from 1.6.5 to 1.3 which means that it is probably caused by an issue specifically in this plugin.

          I think that JENKINS-6644 did lead in a good direction though. KK suggested "I recommend the use of ConcurrentHashMap instead of a plain HashMap to avoid concurrent update problems like this" in the old defect which I think is exactly the issue. Since the 1.3 version of build name setter EnvironmentVarSetter.java was added which calls `private final Map<String, String> envVars = new HashMap<String, String>();`. I think that just needs to be changed to ConcurrentHashMap and then this issue will be fixed.

          Thoughts?

          Alex Taylor added a comment - So this defect was closed because it was thought to be caused by https://issues.jenkins-ci.org/browse/JENKINS-6644 but I am seeing that downgrading the build name setter plugin from 1.6.5 to 1.3 which means that it is probably caused by an issue specifically in this plugin. I think that JENKINS-6644 did lead in a good direction though. KK suggested "I recommend the use of ConcurrentHashMap instead of a plain HashMap to avoid concurrent update problems like this" in the old defect which I think is exactly the issue. Since the 1.3 version of build name setter EnvironmentVarSetter.java was added which calls `private final Map<String, String> envVars = new HashMap<String, String>();`. I think that just needs to be changed to ConcurrentHashMap and then this issue will be fixed. Thoughts?

          Alex Taylor added a comment -

          Hey guys could I get you to try out this PR https://github.com/jenkinsci/build-name-setter-plugin/pull/14 to see if that fixes the serializable exception?

          Alex Taylor added a comment - Hey guys could I get you to try out this PR https://github.com/jenkinsci/build-name-setter-plugin/pull/14  to see if that fixes the serializable exception?

          Alex Taylor added a comment -

          Try out this PR to see if it solves the serializable issue

          Alex Taylor added a comment - Try out this PR to see if it solves the serializable issue

          Lev Mishin added a comment -

          ataylor Does it fix the issue on your environment? 

          PR looks good for me, think can merge it.

          Lev Mishin added a comment - ataylor Does it fix the issue on your environment?  PR looks good for me, think can merge it.

          Alex Taylor added a comment -

          le0 So I was unable to reproduce locally but I may not have the scale to reproduce consistently. I wanted to see if other people could test it out.

           

          Otherwise it is a pretty simple change so I very much doubt it will cause issues.

          Alex Taylor added a comment - le0 So I was unable to reproduce locally but I may not have the scale to reproduce consistently. I wanted to see if other people could test it out.   Otherwise it is a pretty simple change so I very much doubt it will cause issues.

          Lev Mishin added a comment -

          ataylor agree, but it would be nice also if this improvement fixed the issue

           

          Lev Mishin added a comment - ataylor agree, but it would be nice also if this improvement fixed the issue  

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          src/main/java/org/jenkinsci/plugins/EnvironmentVarSetter.java
          http://jenkins-ci.org/commit/build-name-setter-plugin/d9931d203aab3da4dd4aba684dee27bfea47efbc
          Log:
          Merge pull request #14 from alexanderrtaylor/master

          JENKINS-33527Changed HashMap to ConcurrentHashMap

          Compare: https://github.com/jenkinsci/build-name-setter-plugin/compare/ea649b1d0466...d9931d203aab

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/org/jenkinsci/plugins/EnvironmentVarSetter.java http://jenkins-ci.org/commit/build-name-setter-plugin/d9931d203aab3da4dd4aba684dee27bfea47efbc Log: Merge pull request #14 from alexanderrtaylor/master JENKINS-33527 Changed HashMap to ConcurrentHashMap Compare: https://github.com/jenkinsci/build-name-setter-plugin/compare/ea649b1d0466...d9931d203aab

            le0 Lev Mishin
            ddumont Dan Dumont
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: