java.lang.RuntimeException: Failed to serialize hudson.plugins.disk_usage.ProjectDiskUsage#buildDiskUsage for class hudson.plugins.disk_usage.ProjectDiskUsage

Jenkins JIRA | Remo Meier | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We have almost every evening problems with hanging Jenkins Jobs with huge amount of following java error occures: Error: Jun 29, 2015 10:34:30 PM WARNING hudson.plugins.disk_usage.DiskUsageBuildListener onCompleted Disk usage plugin fails during build calculation disk space of job EV0_UTIL_STG_LOAD java.lang.RuntimeException: Failed to serialize hudson.plugins.disk_usage.ProjectDiskUsage#buildDiskUsage for class hudson.plugins.disk_usage.ProjectDiskUsage 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.plugins.disk_usage.ProjectDiskUsage.save(ProjectDiskUsage.java:70) at hudson.plugins.disk_usage.DiskUsageProperty.saveDiskUsage(DiskUsageProperty.java:451) at hudson.plugins.disk_usage.DiskUsageProperty.putSlaveWorkspaceSize(DiskUsageProperty.java:183) at hudson.plugins.disk_usage.DiskUsageBuildListener.onCompleted(DiskUsageBuildListener.java:73) at hudson.plugins.disk_usage.DiskUsageBuildListener.onCompleted(DiskUsageBuildListener.java:25) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1810) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894) at java.util.HashMap$KeyIterator.next(HashMap.java:928) 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:223) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210) ... 23 more

    Jenkins JIRA | 2 years ago | Remo Meier
    java.lang.RuntimeException: Failed to serialize hudson.plugins.disk_usage.ProjectDiskUsage#buildDiskUsage for class hudson.plugins.disk_usage.ProjectDiskUsage
  2. 0

    We have almost every evening problems with hanging Jenkins Jobs with huge amount of following java error occures: Error: Jun 29, 2015 10:34:30 PM WARNING hudson.plugins.disk_usage.DiskUsageBuildListener onCompleted Disk usage plugin fails during build calculation disk space of job EV0_UTIL_STG_LOAD java.lang.RuntimeException: Failed to serialize hudson.plugins.disk_usage.ProjectDiskUsage#buildDiskUsage for class hudson.plugins.disk_usage.ProjectDiskUsage 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.plugins.disk_usage.ProjectDiskUsage.save(ProjectDiskUsage.java:70) at hudson.plugins.disk_usage.DiskUsageProperty.saveDiskUsage(DiskUsageProperty.java:451) at hudson.plugins.disk_usage.DiskUsageProperty.putSlaveWorkspaceSize(DiskUsageProperty.java:183) at hudson.plugins.disk_usage.DiskUsageBuildListener.onCompleted(DiskUsageBuildListener.java:73) at hudson.plugins.disk_usage.DiskUsageBuildListener.onCompleted(DiskUsageBuildListener.java:25) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) at hudson.model.Run.execute(Run.java:1810) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894) at java.util.HashMap$KeyIterator.next(HashMap.java:928) 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:223) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210) ... 23 more

    Jenkins JIRA | 2 years ago | Remo Meier
    java.lang.RuntimeException: Failed to serialize hudson.plugins.disk_usage.ProjectDiskUsage#buildDiskUsage for class hudson.plugins.disk_usage.ProjectDiskUsage
  3. 0

    ConcurrentModificationException in ReloadableScript.getChecksum

    GitHub | 4 years ago | grob
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Teleport sometimes crashes server

    GitHub | 4 years ago | Zet5
    java.util.ConcurrentModificationException

  1. iridic 2 times, last 4 months ago
  2. franky li 1 times, last 5 months ago
  3. bpbhat77 2 times, last 6 months ago
  4. asvid 2 times, last 10 months ago
  5. ben.slama.jihed 19 times, last 10 months ago
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ConcurrentModificationException

    No message provided

    at java.util.HashMap$HashIterator.nextEntry()
  2. Java RT
    HashMap$KeyIterator.next
    1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
    2. java.util.HashMap$KeyIterator.next(HashMap.java:928)
    2 frames
  3. XStream Core
    AbstractReferenceMarshaller$1.convertAnother
    1. com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73)
    2. com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
    3. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
    4. com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
    4 frames
  4. Hudson
    RobustReflectionConverter$2.visit
    1. hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
    2. hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
    3. hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
    3 frames
  5. XStream Core
    PureJavaReflectionProvider.visitSerializableFields
    1. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
    1 frame
  6. Hudson
    RobustReflectionConverter.marshal
    1. hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
    2. hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
    2 frames
  7. XStream Core
    XStream.toXML
    1. com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
    2. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
    3. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
    4. com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
    5. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
    6. com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
    7. com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
    8. com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
    8 frames
  8. Hudson
    XmlFile.write
    1. hudson.XmlFile.write(XmlFile.java:178)
    1 frame
  9. hudson.plugins.disk_usage
    DiskUsageBuildListener.onCompleted
    1. hudson.plugins.disk_usage.ProjectDiskUsage.save(ProjectDiskUsage.java:70)
    2. hudson.plugins.disk_usage.DiskUsageProperty.saveDiskUsage(DiskUsageProperty.java:451)
    3. hudson.plugins.disk_usage.DiskUsageProperty.putSlaveWorkspaceSize(DiskUsageProperty.java:183)
    4. hudson.plugins.disk_usage.DiskUsageBuildListener.onCompleted(DiskUsageBuildListener.java:73)
    5. hudson.plugins.disk_usage.DiskUsageBuildListener.onCompleted(DiskUsageBuildListener.java:25)
    5 frames
  10. Hudson
    Executor.run
    1. hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199)
    2. hudson.model.Run.execute(Run.java:1810)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    4. hudson.model.ResourceController.execute(ResourceController.java:89)
    5. hudson.model.Executor.run(Executor.java:240)
    5 frames