java.util.ConcurrentModificationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A build-flow job failed with the following output when I stopped it and some of its underlying jobs manually during execution. {noformat} Started by user jwienke Schedule job distribution-prepare.nightly Build distribution-prepare.nightly #68 started distribution-prepare.nightly #68 completed parallel { ignore(ABORTED) { ignore(ABORTED) { ignore(ABORTED) { Schedule job rsbag-manual-master-toolkit-nightly Schedule job pyscxml-master-toolkit-nightly Schedule job vdemo-master-toolkit-nightly ignore(ABORTED) { parallel { Schedule job cbf-0.1-toolkit-nightly ignore(ABORTED) { Schedule job icewing-trunk-toolkit-nightly ignore(ABORTED) { Schedule job kdl-master-toolkit-nightly parallel { ignore(ABORTED) { Schedule job rosetta-cl-master-toolkit-nightly ignore(ABORTED) { parallel { Schedule job nemomath-trunk-toolkit-nightly ignore(ABORTED) { ignore(ABORTED) { Schedule job rsc-master-toolkit-nightly Schedule job spread-trunk-toolkit-nightly Build rsc-master-toolkit-nightly #576 started Build rosetta-cl-master-toolkit-nightly #565 started Build nemomath-trunk-toolkit-nightly #570 started Build kdl-master-toolkit-nightly #530 started Build icewing-trunk-toolkit-nightly #238 started Build cbf-0.1-toolkit-nightly #232 started Build pyscxml-master-toolkit-nightly #428 started Build vdemo-master-toolkit-nightly #537 started Build rsbag-manual-master-toolkit-nightly #570 started Build spread-trunk-toolkit-nightly #551 started spread-trunk-toolkit-nightly #551 completed : ABORTED // ABORTED ignored } rosetta-cl-master-toolkit-nightly #565 completed : ABORTED // ABORTED ignored } parallel { ignore(ABORTED) { ignore(ABORTED) { Schedule job rosetta-yarp-cl-master-toolkit-nightly Schedule job rosetta-esrap-util-cl-master-toolkit-nightly } Aborted by jwienke rsc-master-toolkit-nightly #576 completed : ABORTED // ABORTED ignored } } ignore(ABORTED) { icewing-trunk-toolkit-nightly #238 completed : ABORTED Schedule job rsb-protocol-master-toolkit-nightly // ABORTED ignored } nemomath-trunk-toolkit-nightly #570 completed : ABORTED // ABORTED ignored } FATAL: null rsbag-manual-master-toolkit-nightly #570 completed : ABORTED java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1378) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1351) at org.codehaus.groovy.runtime.dgm$170.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.cloudbees.plugins.flow.FlowDSL.killRunningJobs(FlowDSL.groovy:116) at com.cloudbees.plugins.flow.FlowDSL.this$2$killRunningJobs(FlowDSL.groovy) at com.cloudbees.plugins.flow.FlowDSL$this$2$killRunningJobs.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:94) at com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219) at hudson.model.Run.execute(Run.java:1706) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) {noformat}
    via by Johannes Wienke,
  • A build-flow job failed with the following output when I stopped it and some of its underlying jobs manually during execution. {noformat} Started by user jwienke Schedule job distribution-prepare.nightly Build distribution-prepare.nightly #68 started distribution-prepare.nightly #68 completed parallel { ignore(ABORTED) { ignore(ABORTED) { ignore(ABORTED) { Schedule job rsbag-manual-master-toolkit-nightly Schedule job pyscxml-master-toolkit-nightly Schedule job vdemo-master-toolkit-nightly ignore(ABORTED) { parallel { Schedule job cbf-0.1-toolkit-nightly ignore(ABORTED) { Schedule job icewing-trunk-toolkit-nightly ignore(ABORTED) { Schedule job kdl-master-toolkit-nightly parallel { ignore(ABORTED) { Schedule job rosetta-cl-master-toolkit-nightly ignore(ABORTED) { parallel { Schedule job nemomath-trunk-toolkit-nightly ignore(ABORTED) { ignore(ABORTED) { Schedule job rsc-master-toolkit-nightly Schedule job spread-trunk-toolkit-nightly Build rsc-master-toolkit-nightly #576 started Build rosetta-cl-master-toolkit-nightly #565 started Build nemomath-trunk-toolkit-nightly #570 started Build kdl-master-toolkit-nightly #530 started Build icewing-trunk-toolkit-nightly #238 started Build cbf-0.1-toolkit-nightly #232 started Build pyscxml-master-toolkit-nightly #428 started Build vdemo-master-toolkit-nightly #537 started Build rsbag-manual-master-toolkit-nightly #570 started Build spread-trunk-toolkit-nightly #551 started spread-trunk-toolkit-nightly #551 completed : ABORTED // ABORTED ignored } rosetta-cl-master-toolkit-nightly #565 completed : ABORTED // ABORTED ignored } parallel { ignore(ABORTED) { ignore(ABORTED) { Schedule job rosetta-yarp-cl-master-toolkit-nightly Schedule job rosetta-esrap-util-cl-master-toolkit-nightly } Aborted by jwienke rsc-master-toolkit-nightly #576 completed : ABORTED // ABORTED ignored } } ignore(ABORTED) { icewing-trunk-toolkit-nightly #238 completed : ABORTED Schedule job rsb-protocol-master-toolkit-nightly // ABORTED ignored } nemomath-trunk-toolkit-nightly #570 completed : ABORTED // ABORTED ignored } FATAL: null rsbag-manual-master-toolkit-nightly #570 completed : ABORTED java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1378) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1351) at org.codehaus.groovy.runtime.dgm$170.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.cloudbees.plugins.flow.FlowDSL.killRunningJobs(FlowDSL.groovy:116) at com.cloudbees.plugins.flow.FlowDSL.this$2$killRunningJobs(FlowDSL.groovy) at com.cloudbees.plugins.flow.FlowDSL$this$2$killRunningJobs.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:94) at com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219) at hudson.model.Run.execute(Run.java:1706) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) {noformat}
    via by Johannes Wienke,
    • java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1378) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1351) at org.codehaus.groovy.runtime.dgm$170.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.cloudbees.plugins.flow.FlowDSL.killRunningJobs(FlowDSL.groovy:116) at com.cloudbees.plugins.flow.FlowDSL.this$2$killRunningJobs(FlowDSL.groovy) at com.cloudbees.plugins.flow.FlowDSL$this$2$killRunningJobs.callCurrent(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:94) at com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219) at hudson.model.Run.execute(Run.java:1706) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

    Users with the same issue

    Unknown visitor1 times, last one,
    Cezary Draus
    Cezary Draus1 times, last one,
    mortalman7
    mortalman71 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates