java.util.ConcurrentModificationException

Sonatype JIRA | Rich Seddon | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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}

    Sonatype JIRA | 6 years ago | Rich Seddon
    java.util.ConcurrentModificationException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. derprogger 1 times, last 5 days ago
  2. Akshay 4 times, last 8 months ago
  3. poroszd 1 times, last 11 months ago
  4. asvid 4 times, last 11 months ago
5 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$EntryIterator.next
    1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
    2. java.util.HashMap$EntryIterator.next(HashMap.java:834)
    2 frames