-
Bug
-
Resolution: Fixed
-
Critical
-
None
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
- is duplicated by
-
JENKINS-24627 ConcurrentModificationException with DiskUsage
- Resolved