Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6644

hudson.util.RobustReflectionConverter.marshallField throws ConcurrentModificationException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Started by upstream project "project2" build number 383
      FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
      java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
      	at com.thoughtworks.xstream.XStream.marshal(XStream.java:840)
      	at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
      	at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
      	at hudson.XmlFile.write(XmlFile.java:165)
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.save(DownstreamBuildViewUpdateListener.java:100)
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:88)
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
      	at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
      	at hudson.model.Run.run(Run.java:1236)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:122)
      Caused by: java.lang.RuntimeException: Failed to serialize org.jvnet.hudson.plugins.AbstractDownstreamBuildViewAction#downstreamBuilds for class org.jvnet.hudson.plugins.DownstreamBuildViewAction
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      	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:172)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
      	... 21 more
      Caused by: java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:834)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:832)
      	at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:54)
      	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:172)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
      	... 35 more
      

        Attachments

          Issue Links

            Activity

            hhuynh hhuynh created issue -
            kohsuke Kohsuke Kawaguchi made changes -
            Field Original Value New Value
            Component/s core [ 15593 ]
            Component/s infrastructure [ 15687 ]
            Description Started by upstream project "project2" build number 383
            FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
            java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
            at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
            at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
            at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
            at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
            at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
            at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
            at com.thoughtworks.xstream.XStream.marshal(XStream.java:840)
            at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
            at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
            at hudson.XmlFile.write(XmlFile.java:165)
            at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.save(DownstreamBuildViewUpdateListener.java:100)
            at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:88)
            at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
            at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
            at hudson.model.Run.run(Run.java:1236)
            at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:122)
            Caused by: java.lang.RuntimeException: Failed to serialize org.jvnet.hudson.plugins.AbstractDownstreamBuildViewAction#downstreamBuilds for class org.jvnet.hudson.plugins.DownstreamBuildViewAction
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
            at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
            at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
            at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
            at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
            at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
            at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
            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:172)
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
            ... 21 more
            Caused by: java.util.ConcurrentModificationException
            at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
            at java.util.HashMap$EntryIterator.next(HashMap.java:834)
            at java.util.HashMap$EntryIterator.next(HashMap.java:832)
            at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:54)
            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:172)
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
            ... 35 more

            {noformat}
            Started by upstream project "project2" build number 383
            FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
            java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
            at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
            at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
            at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
            at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
            at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
            at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
            at com.thoughtworks.xstream.XStream.marshal(XStream.java:840)
            at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
            at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
            at hudson.XmlFile.write(XmlFile.java:165)
            at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.save(DownstreamBuildViewUpdateListener.java:100)
            at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:88)
            at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
            at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
            at hudson.model.Run.run(Run.java:1236)
            at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:122)
            Caused by: java.lang.RuntimeException: Failed to serialize org.jvnet.hudson.plugins.AbstractDownstreamBuildViewAction#downstreamBuilds for class org.jvnet.hudson.plugins.DownstreamBuildViewAction
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
            at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
            at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
            at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
            at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
            at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
            at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
            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:172)
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
            ... 21 more
            Caused by: java.util.ConcurrentModificationException
            at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
            at java.util.HashMap$EntryIterator.next(HashMap.java:834)
            at java.util.HashMap$EntryIterator.next(HashMap.java:832)
            at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:54)
            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:172)
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
            ... 35 more
            {noformat}
            kohsuke Kohsuke Kawaguchi made changes -
            Component/s downstream-buildview [ 15699 ]
            Component/s core [ 15593 ]
            hhuynh hhuynh made changes -
            Summary hudson.util.RobustReflectionConverter.marshallField throws hudson.util.RobustReflectionConverter.marshallField hudson.util.RobustReflectionConverter.marshallField throws ConcurrentModificationException
            olamy Olivier Lamy made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136739 ] JNJira + In-Review [ 187279 ]
            olivergondza Oliver Gondža made changes -
            Component/s core [ 15593 ]
            Component/s downstream-buildview-plugin [ 15699 ]
            olivergondza Oliver Gondža made changes -
            Labels xstream
            olivergondza Oliver Gondža made changes -
            Environment linux master/slave Hudson ver. 1.359
            olivergondza Oliver Gondža made changes -
            Link This issue is duplicated by JENKINS-33527 [ JENKINS-33527 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              hhuynh hhuynh
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: