java.util.ConcurrentModificationException

Sonatype JIRA | Rich Seddon | 8 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 got an error 500 when clicking on the Maven Central repository shortly after starting up a clean install of Nexus. This only happened once (in Nexus OSS svn #5189 on the 1.4.0 branch). Looks like there is some kind of race condition? {code} 2009-10-06 10:25:08 INFO [pool-3-thread-3] - o.s.n.p.s.r.RemoteR~:apacheH~ - Remote storage settings change detected for ProxyRepository ID="central" ("Maven Central"), updating HttpClient... 2009-10-06 10:25:08 INFO [pool-3-thread-2] - o.s.n.p.s.r.RemoteR~:apacheH~ - Remote storage settings change detected for ProxyRepository ID="apache-snapshots" ("Apache Snapshots"), updating HttpClient... 2009-10-06 10:25:10 ERROR [qtp-161288908-0] - org.mortbay.log - /nexus/service/local/repositories/central/index_content/ java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.sonatype.nexus.proxy.target.DefaultTargetRegistry.getTargetsForRepositoryPath(DefaultTargetRegistry.java:273) at org.sonatype.nexus.proxy.repository.AbstractRepository.getTargetsForRequest(AbstractRepository.java:687) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.getTargetsForRequest(DefaultRepositoryRouter.java:379) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.authorizePath(DefaultRepositoryRouter.java:715) at org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:150) at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145) at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) 2009-10-06 10:25:18 INFO [qtp-161288908-4] - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from IP Address 0:0:0:0:0:0:0:1%0 2009-10-06 10:25:18 INFO [qtp-161288908-4] - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from IP Address 0:0:0:0:0:0:0:1%0 {code}

    Sonatype JIRA | 8 years ago | Rich Seddon
    java.util.ConcurrentModificationException
  2. 0

    Source Code - releasenotes.html

    search-hadoop.com | 2 years ago
    java.util.ConcurrentModificationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Source Code - releasenotes.html

    search-hadoop.com | 2 years ago
    java.util.ConcurrentModificationException
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.AbstractList$Itr.checkForComodification()
  2. Java RT
    Collections$UnmodifiableCollection$1.next
    1. java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    2. java.util.AbstractList$Itr.next(AbstractList.java:343)
    3. java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
    3 frames
  3. org.sonatype.nexus
    DefaultTargetRegistry.getTargetsForRepositoryPath
    1. org.sonatype.nexus.proxy.target.DefaultTargetRegistry.getTargetsForRepositoryPath(DefaultTargetRegistry.java:273)
    1 frame
  4. ${project.groupId}:${project.artifactId}
    DefaultRepositoryRouter.authorizePath
    1. org.sonatype.nexus.proxy.repository.AbstractRepository.getTargetsForRequest(AbstractRepository.java:687)
    2. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.getTargetsForRequest(DefaultRepositoryRouter.java:379)
    3. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.authorizePath(DefaultRepositoryRouter.java:715)
    3 frames
  5. Nexus Core
    NexusTargetMappingAuthorizationFilter.isAccessAllowed
    1. org.sonatype.nexus.security.filter.authz.NexusTargetMappingAuthorizationFilter.isAccessAllowed(NexusTargetMappingAuthorizationFilter.java:150)
    1 frame
  6. org.jsecurity.web
    OncePerRequestFilter.doFilter
    1. org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145)
    2. org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175)
    3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129)
    4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    11. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    11 frames
  7. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    9. org.mortbay.jetty.Server.handle(Server.java:326)
    10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    15 frames
  8. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    1 frame