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

Periodic error 500 when clicking on repositories

    XMLWordPrintable

    Details

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

      Description

      I'm seeing this in Nexus OSS SVN #5154, running the WAR version inside of Tomcat 6.0.20.

      When clicking on repositoiies in the repo view I get an error 500 once in a while. The log is below.

      At this point I don't know this bug is specific to the WAR version or not, this is just where I see it.

      INFO: Server startup in 6885 ms
      2009-10-01 14:42:19 INFO - o.s.s.m.s.FileModel~ - Loading Security configuration from /Users/rseddon/sonatype-work/nexus/conf/security.xml
      2009-10-01 14:42:24 INFO - o.s.n.p.s.r.RemoteR~:apacheH~ - Remote storage settings change detected for ProxyRepository ID="apache-snapshots" ("Apache Snapshots"), updating HttpClient...
      2009-10-01 14:42:24 INFO - o.s.n.p.s.r.RemoteR~:apacheH~ - Remote storage settings change detected for ProxyRepository ID="central" ("Maven Central"), updating HttpClient...
      2009-10-01 14:42:24 INFO - o.s.n.p.s.r.RemoteR~:apacheH~ - Remote storage settings change detected for ProxyRepository ID="codehaus-snapshots" ("Codehaus Snapshots"), updating HttpClient...
      2009-10-01 14:42:31 WARN - o.s.p.r.r.PlexusRes~:Reposit~ - Repository access denied, id=thirdparty
      2009-10-01 14:43:10 INFO - 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-01 14:43:10 INFO - 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-01 14:44:04 WARN - o.s.p.r.r.PlexusRes~:Reposit~ - Repository access denied, id=apache-snapshots
      2009-10-01 14:46:04 ERROR - o.s.p.r.r.PlexusRes~:Reposit~ - Cannot create reference for non-existant repository
      2009-10-01 14:46:04 ERROR - o.s.n.e.r.ErrorRepo~ - Detected Error in Nexus
      java.lang.NullPointerException
      at org.sonatype.nexus.rest.repositories.AbstractRepositoryPlexusResource.listRepositories(AbstractRepositoryPlexusResource.java:216)
      at org.sonatype.nexus.rest.repositories.RepositoryListPlexusResource.get(RepositoryListPlexusResource.java:93)
      at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263)
      at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
      at org.restlet.resource.Resource.getRepresentation(Resource.java:302)
      at org.restlet.resource.Resource.handleGet(Resource.java:464)
      at org.restlet.Finder.handle(Finder.java:353)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      at org.restlet.Application.handle(Application.java:341)
      at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      at org.restlet.Component.handle(Component.java:673)
      at org.restlet.Server.handle(Server.java:331)
      at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      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.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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      at java.lang.Thread.run(Thread.java:637)
      2009-10-01 14:46:04 ERROR - o.s.n.r.NexusApplic~ - Unhandled exception or error intercepted
      java.lang.NullPointerException
      at org.sonatype.nexus.rest.repositories.AbstractRepositoryPlexusResource.listRepositories(AbstractRepositoryPlexusResource.java:216)
      at org.sonatype.nexus.rest.repositories.RepositoryListPlexusResource.get(RepositoryListPlexusResource.java:93)
      at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263)
      at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
      at org.restlet.resource.Resource.getRepresentation(Resource.java:302)
      at org.restlet.resource.Resource.handleGet(Resource.java:464)
      at org.restlet.Finder.handle(Finder.java:353)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      at org.restlet.Application.handle(Application.java:341)
      at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at org.restlet.Router.handle(Router.java:504)
      at org.restlet.Filter.doHandle(Filter.java:150)
      at org.restlet.Filter.handle(Filter.java:195)
      at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      at org.restlet.Component.handle(Component.java:673)
      at org.restlet.Server.handle(Server.java:331)
      at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      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.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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      at java.lang.Thread.run(Thread.java:637)

        Attachments

        1. catalina.out
          30 kB
        2. localhost.2009-10-01.log
          5 kB
        3. nexus.log
          29 kB

          Activity

            People

            • Assignee:
              rseddon Rich Seddon
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Jason Dillon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - 1h Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 12.4h
                12.4h