Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-2824

Received concurrent modification exception when clicking on Maven Central repo in reopsitories view.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 1.4.1
    • Component/s: UI
    • Labels:
      None

      Description

      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?

      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
      
      

        Attachments

          Activity

            People

            Assignee:
            cstamas Tamás Cservenák
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title