java.util.ConcurrentModificationException

Jenkins JIRA | Daniel Spilker | 2 years ago
  1. 0

    Under some circumstances, the seed job fails with a ConcurrentModificationException. {code} java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922) at java.util.HashMap$KeyIterator.next(HashMap.java:956) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:484) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:701) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Sets.removeAllImpl(Sets.java:1598) at com.google.common.collect.Sets.removeAllImpl(Sets.java:1627) at com.google.common.collect.AbstractMapBasedMultimap$WrappedSet.removeAll(AbstractMapBasedMultimap.java:614) at javaposse.jobdsl.plugin.ExecuteDslScripts.updateTemplates(ExecuteDslScripts.java:226) at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:183) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) {code}

    Jenkins JIRA | 2 years ago | Daniel Spilker
    java.util.ConcurrentModificationException
  2. 0

    Under some circumstances, the seed job fails with a ConcurrentModificationException. {code} java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922) at java.util.HashMap$KeyIterator.next(HashMap.java:956) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:484) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:701) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Sets.removeAllImpl(Sets.java:1598) at com.google.common.collect.Sets.removeAllImpl(Sets.java:1627) at com.google.common.collect.AbstractMapBasedMultimap$WrappedSet.removeAll(AbstractMapBasedMultimap.java:614) at javaposse.jobdsl.plugin.ExecuteDslScripts.updateTemplates(ExecuteDslScripts.java:226) at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:183) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) {code}

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

    Automated exception search integrated into your IDE

  4. 0

    Lazy initialisation of lexicons can cause ConcurrentModificationException

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

  1. iridic 2 times, last 2 weeks ago
  2. franky li 1 times, last 1 month ago
  3. bpbhat77 2 times, last 3 months ago
  4. bpbhat77 1 times, last 5 months ago
  5. asvid 2 times, last 6 months ago
1 more registered users
9 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:922)
    2. java.util.HashMap$KeyIterator.next(HashMap.java:956)
    2 frames
  3. Guava
    AbstractMapBasedMultimap$WrappedSet.removeAll
    1. com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:484)
    2. com.google.common.collect.Iterators$7.computeNext(Iterators.java:701)
    3. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
    4. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
    5. com.google.common.collect.Sets.removeAllImpl(Sets.java:1598)
    6. com.google.common.collect.Sets.removeAllImpl(Sets.java:1627)
    7. com.google.common.collect.AbstractMapBasedMultimap$WrappedSet.removeAll(AbstractMapBasedMultimap.java:614)
    7 frames
  4. javaposse.jobdsl.plugin
    ExecuteDslScripts.perform
    1. javaposse.jobdsl.plugin.ExecuteDslScripts.updateTemplates(ExecuteDslScripts.java:226)
    2. javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:183)
    2 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
    3. hudson.model.Build$BuildExecution.build(Build.java:199)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
    6. hudson.model.Run.execute(Run.java:1732)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:234)
    9 frames