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

Exception in log when deleting proxy repository that is a member of a group repository

    Details

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

      Description

      When deleting a proxy repository that is a member of a group repository you get an exception in the log.

      I don't see any other negative effects from this.

      ==

      2009-08-05 15:49:42 INFO [pool-1-thread-2] - o.s.n.f.FeedRecorder:default - Reindexing repository abc from path / and below. : Process started on Wed Aug 05 15:49:42 PDT 2009, finished successfully on Wed Aug 05 15:49:42 PDT 2009
      2009-08-05 15:50:23 INFO [qtp0-5 ] - o.s.n.p.r.Repositor~:default - Removed repository ID='abc' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository')
      2009-08-05 15:50:23 INFO [qtp0-5 ] - o.s.n.c.v.Applicati~:default - Nexus configuration validated succesfully.
      2009-08-05 15:50:23 INFO [qtp0-5 ] - o.s.n.c.a.NexusConf~:default - Applying Nexus Configuration...
      2009-08-05 15:50:23 ERROR [qtp0-5 ] - o.s.n.p.e.EventInsp~ - Could not maintain indexing contexts!
      org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='abc' not found!
      at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:124)
      at org.sonatype.nexus.index.DefaultIndexerManager.updateRepositoryIndexContext(DefaultIndexerManager.java:282)
      at org.sonatype.nexus.index.ProxyIndexerManager.updateRepositoryIndexContext(ProxyIndexerManager.java:290)
      at org.sonatype.nexus.events.RepositoryRegistryRepositoryEventInspector.inspectForIndexerManager(RepositoryRegistryRepositoryEventInspector.java:174)
      at org.sonatype.nexus.events.RepositoryRegistryRepositoryEventInspector.inspect(RepositoryRegistryRepositoryEventInspector.java:67)
      at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48)
      at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62)
      at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
      at org.sonatype.nexus.proxy.repository.AbstractRepository.commitChanges(AbstractRepository.java:159)
      at org.sonatype.nexus.configuration.AbstractConfigurable.onEvent(AbstractConfigurable.java:56)
      at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyConfiguration(DefaultNexusConfiguration.java:211)
      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.saveConfiguration(DefaultNexusConfiguration.java:238)
      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyAndSaveConfiguration(DefaultNexusConfiguration.java:248)
      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.deleteRepository(DefaultNexusConfiguration.java:800)
      at org.sonatype.nexus.DefaultNexus.deleteRepository(DefaultNexus.java:323)
      at org.sonatype.nexus.rest.repositories.RepositoryPlexusResource.delete(RepositoryPlexusResource.java:294)
      at org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:357)
      at org.sonatype.nexus.rest.NexusRestletResource.removeRepresentations(NexusRestletResource.java:108)
      at org.restlet.resource.Resource.delete(Resource.java:224)
      at org.restlet.resource.Resource.handleDelete(Resource.java:384)
      at org.restlet.Finder.handle(Finder.java:361)
      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:884)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
      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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
      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:766)
      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:324)
      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:533)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      2009-08-05 15:50:23 INFO [pool-1-thread-4] - o.s.n.f.FeedRecorder:default - Deleting folders with repository ID: abc : Process started on Wed Aug 05 15:50:23 PDT 2009, not yet finished.
      2009-08-05 15:50:23 INFO [pool-1-thread-4] - o.s.n.DefaultNexus - Deleting folders of repository 'abc'.
      2009-08-05 15:50:23 INFO [pool-1-thread-4] - o.s.n.f.FeedRecorder:default - Deleting folders with repository ID: abc : Process started on Wed Aug 05 15:50:23 PDT 2009, finished successfully on Wed Aug 05 15:50:23 PDT 2009
      2

        Attachments

          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 - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 11m
                11m