java.util.ConcurrentModificationException

Jenkins JIRA | Johannes Wienke | 2 years ago
  1. 0

    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}

    Jenkins JIRA | 2 years ago | Johannes Wienke
    java.util.ConcurrentModificationException
  2. 0

    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}

    Jenkins JIRA | 2 years ago | Johannes Wienke
    java.util.ConcurrentModificationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.util.ConcurrentModificationException

    GitHub | 2 years ago | wgent
    java.util.ConcurrentModificationException

  1. Cezary Draus 1 times, last 6 months ago
1 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.LinkedHashMap$LinkedHashIterator.nextEntry()
  2. Java RT
    Collections$UnmodifiableCollection$1.next
    1. java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
    2. java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
    3. java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
    3 frames
  3. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1378)
    2. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1351)
    3. org.codehaus.groovy.runtime.dgm$170.invoke(Unknown Source)
    4. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
    5. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
    6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    8. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    8 frames
  4. com.cloudbees.plugins
    FlowDSL$this$2$killRunningJobs.callCurrent
    1. com.cloudbees.plugins.flow.FlowDSL.killRunningJobs(FlowDSL.groovy:116)
    2. com.cloudbees.plugins.flow.FlowDSL.this$2$killRunningJobs(FlowDSL.groovy)
    3. com.cloudbees.plugins.flow.FlowDSL$this$2$killRunningJobs.callCurrent(Unknown Source)
    3 frames
  5. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
    3 frames
  6. com.cloudbees.plugins
    FlowRun$FlyweightTaskRunnerImpl.run
    1. com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:94)
    2. com.cloudbees.plugins.flow.FlowRun$FlyweightTaskRunnerImpl.run(FlowRun.java:219)
    2 frames
  7. Hudson
    Run.execute
    1. hudson.model.Run.execute(Run.java:1706)
    1 frame
  8. com.cloudbees.plugins
    FlowRun.run
    1. com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155)
    1 frame
  9. Hudson
    OneOffExecutor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:232)
    3. hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
    3 frames