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.

  • I'm seeing concurrent modification exceptions in my nexus.log running nexus-onboarding-webapp-1.9-20110107.144958-23-bundle.zip. No reproduce case yet. I'll update this issue if I can find one. {noformat} 2011-01-07 13:46:21 WARN [st-1-thread-175] - org.sonatype.nexus.events.DefaultEventInspectorHost - EventInspector implementation='org.sonatype.nexus.events.ItemChangesFeedEventInspector' had problem inspecting an event='class org.sonatype.nexus.proxy.events.RepositoryItemEventCache' java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834) at java.util.HashMap$EntryIterator.next(HashMap.java:832) at java.util.HashMap.putAll(HashMap.java:523) at org.sonatype.nexus.proxy.RequestContext.flatten(RequestContext.java:373) at org.sonatype.nexus.feeds.AbstractEvent.addEventContext(AbstractEvent.java:66) at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspectForNexus(ItemChangesFeedEventInspector.java:105) at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspect(ItemChangesFeedEventInspector.java:58) at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:157) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) 2011-01-07 13:47:11 WARN [st-1-thread-173] - org.sonatype.nexus.events.DefaultEventInspectorHost - EventInspector implementation='org.sonatype.nexus .events.ItemChangesFeedEventInspector' had problem inspecting an event='class org.sonatype.nexus.proxy.events.RepositoryItemEventCache' java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834) at java.util.HashMap$EntryIterator.next(HashMap.java:832) at java.util.HashMap.putAll(HashMap.java:523) at org.sonatype.nexus.proxy.RequestContext.flatten(RequestContext.java:373) at org.sonatype.nexus.feeds.AbstractEvent.addEventContext(AbstractEvent.java:66) at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspectForNexus(ItemChangesFeedEventInspector.java:105) at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspect(ItemChangesFeedEventInspector.java:58) at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:157) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) 2011-01-07 13:47:30 WARN [st-1-thread-173] - org.sonatype.nexus.events.DefaultEventInspectorHost - EventInspector implementation='org.sonatype.nexus .events.ItemChangesFeedEventInspector' had problem inspecting an event='class org.sonatype.nexus.proxy.events.RepositoryItemEventCache' java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834) at java.util.HashMap$EntryIterator.next(HashMap.java:832) at java.util.HashMap.putAll(HashMap.java:523) at org.sonatype.nexus.proxy.RequestContext.flatten(RequestContext.java:373) at org.sonatype.nexus.feeds.AbstractEvent.addEventContext(AbstractEvent.java:66) at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspectForNexus(ItemChangesFeedEventInspector.java:105) at org.sonatype.nexus.events.ItemChangesFeedEventInspector.inspect(ItemChangesFeedEventInspector.java:58) at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:157) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)2011-01-07 14:12:51 INFO [Thread-32 ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions... {noformat}
    via by Rich Seddon,
  • Crash investigation - autosave
    via GitHub by Downchuck
    ,
  • Crash
    via GitHub by jsunstrom
    ,
    • java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834)

    Users with the same issue

    derproggerderprogger
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    AkshayAkshay
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    poroszdporoszd
    1 times, last one,
    16 more bugmates