ConncurrentModificationException in BuildDiskUsageCalculationThread

7 views
Skip to first unread message

rhierlmeier

unread,
Jul 2, 2015, 1:55:20 AM7/2/15
to jenkins...@googlegroups.com

In our Jenkins instance (version 1.609.1) we have from time to time the following Exception in the logs. Is this a known issue?

Here is the Exception:

Jul 02, 2015 7:15:36 AM hudson.plugins.disk_usage.BuildDiskUsageCalculationThread execute
WARNING
: Error when recording disk usage for 0020-002 Sysadmin-Public Admin-Server1 Monitor Ping
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.DiskUsageUtil.calculateDiskUsageForBuild(DiskUsageUtil.java:407)
    at hudson
.plugins.disk_usage.BuildDiskUsageCalculationThread.execute(BuildDiskUsageCalculationThread.java:61)
    at hudson
.model.AsyncAperiodicWork$1.run(AsyncAperiodicWork.java:76)
    at java
.lang.Thread.run(Unknown Source)
Caused by: java.util.ConcurrentModificationException
    at java
.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java
.util.HashMap$KeyIterator.next(Unknown Source)
    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)
   
... 19 more

Jul 02, 2015 7:15:36 AM hudson.plugins.disk_usage.BuildDiskUsageCalculationThread execute
WARNING
: Error when recording disk usage for builds
java
.util.ConcurrentModificationException
    at java
.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java
.util.HashMap$KeyIterator.next(Unknown Source)
    at hudson
.plugins.disk_usage.BuildDiskUsageCalculationThread.execute(BuildDiskUsageCalculationThread.java:53)
    at hudson
.model.AsyncAperiodicWork$1.run(AsyncAperiodicWork.java:76)
    at java
.lang.Thread.run(Unknown Source)

I tried to submit an issue, however I cannot login into the issue tracker. Password reset is also not working.



Reply all
Reply to author
Forward
0 new messages