org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='m1-group' not found!

Sonatype JIRA | Rich Seddon | 7 years ago
  1. 0

    I added a hosted M1 repo, then a hosted M2 repo, and finally a group M1 Repo. After this I see the following in the log: 2009-08-13 16:20:36 INFO [qtp0-2 ] - o.s.n.p.r.Repositor~:default - Added repository ID='m1' (contentClass='maven1', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 2009-08-13 16:20:36 INFO [qtp0-2 ] - o.s.n.c.a.NexusConf~ - Applying Nexus Configuration... 2009-08-13 16:20:36 INFO [qtp0-2 ] - o.s.n.c.v.Applicati~:default - Nexus configuration validated succesfully. 2009-08-13 16:20:44 INFO [qtp0-6 ] - o.s.n.p.r.Repositor~:default - Added repository ID='m2' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 2009-08-13 16:20:44 INFO [qtp0-6 ] - o.s.n.c.a.NexusConf~ - Applying Nexus Configuration... 2009-08-13 16:20:44 INFO [qtp0-6 ] - o.s.n.c.v.Applicati~:default - Nexus configuration validated succesfully. 2009-08-13 16:20:44 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository m2 from path null and below. : Process started on Thu Aug 13 16:20:44 PDT 2009, not yet finished. 2009-08-13 16:20:44 INFO [pool-1-thread-1] - o.s.n.i.ComposableI~:lucene - Publishing best index for repository m2 2009-08-13 16:20:44 INFO [pool-1-thread-1] - o.s.n.i.p.IndexPack~:default - Unable to read properties file, will force index regeneration 2009-08-13 16:20:44 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository m2 from path null and below. : Process started on Thu Aug 13 16:20:44 PDT 2009, finished successfully on Thu Aug 13 16:20:44 PDT 2009 2009-08-13 16:21:23 ERROR [qtp0-3 ] - o.s.n.p.e.EventInsp~ - Could not maintain indexing contexts! org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='m1-group' not found! at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:136) 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:162) at org.sonatype.nexus.DefaultNexus.addRepository(DefaultNexus.java:320) at org.sonatype.nexus.rest.groups.AbstractRepositoryGroupPlexusResource.createRepositoryGroup(AbstractRepositoryGroupPlexusResource.java:151) at org.sonatype.nexus.rest.groups.AbstractRepositoryGroupPlexusResource.createOrUpdateRepositoryGroup(AbstractRepositoryGroupPlexusResource.java:55) at org.sonatype.nexus.rest.groups.RepositoryGroupListPlexusResource.post(RepositoryGroupListPlexusResource.java:137) at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:284) at org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:58) at org.restlet.resource.Resource.post(Resource.java:688) at org.restlet.resource.Resource.handlePost(Resource.java:537) at org.restlet.Finder.handle(Finder.java:357) 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.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) 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-13 16:21:23 INFO [qtp0-3 ] - o.s.n.c.a.NexusConf~ - Applying Nexus Configuration... 2009-08-13 16:21:23 INFO [qtp0-3 ] - o.s.n.c.v.Applicati~:default - Nexus configuration validated succesfully. 2009-08-13 16:21:23 INFO [qtp0-3 ] - o.s.n.p.r.Repositor~:default - Added repository ID='m1-group' (contentClass='maven1', mainFacet='org.sonatype.nexus.proxy.repository.GroupRepository')

    Sonatype JIRA | 7 years ago | Rich Seddon
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='m1-group' not found!
  2. 0

    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

    Sonatype JIRA | 7 years ago | Rich Seddon
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='abc' not found!
  3. 0

    Have the below steps in the selenium test script to create a repo, save it, then delete it. There are no errors logged in the Selenium log, however when looking at the nexus.log there is an error logged with the delete process. However, I can clearly see where the repo with the same name as the repo I am attempting to delete is being added. I am attaching the steps from the automated test, as well as a copy of the nexus.log. <tr> <td>click</td> <td>repo-add-btn</td> <td></td> </tr> <tr> <td>pause</td> <td>500</td> <td>500</td> </tr> <tr> <td>click</td> <td>link=Hosted</td> <td></td> </tr> <tr> <td>pause</td> <td>500</td> <td>500</td> </tr> <tr> <td>type</td> <td>document.forms[0].elements[0]</td> <td>aaa-hosted-repo</td> </tr> <tr> <td>type</td> <td>document.forms[0].elements[1]</td> <td>aaa-hosted-repo</td> </tr> <tr> <td>click</td> <td>savebutton</td> <td></td> </tr> <tr> <td>pause</td> <td>500</td> <td>500</td> </tr> <tr> <td>click</td> <td>repo-delete-btn</td> <td></td> </tr> <tr> <td>pause</td> <td>500</td> <td>500</td> </tr> <tr> <td>click</td> <td>Yes</td> <td></td> </tr> <tr> <td>pause</td> <td>500</td> <td>500</td> </tr> 2008-07-07 21:42:51.296 INFO [btpool0-10 - /nexus/service/local/repositories?undefined:] - org.sonatype.nexus.proxy.registry.RepositoryRegistry:default: Added repository ID=aaa-hosted-repo (contentClass=maven2) 2008-07-07 21:42:51.296 INFO [btpool0-10 - /nexus/service/local/repositories?undefined:] - org.sonatype.nexus.configuration.NexusConfiguration:default: Applying Nexus Configuration... 2008-07-07 21:42:56.109 ERROR [btpool0-10 - /nexus/service/local/repositories/aaa-hosted-repo:] - org.sonatype.nexus.index.IndexerManager:default: Could not maintain indexing contexts! org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='aaa-hosted-repo' not found! at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:241) at org.sonatype.nexus.index.DefaultIndexerManager.removeRepositoryIndexContext(DefaultIndexerManager.java:247) at org.sonatype.nexus.index.DefaultIndexerManager.onProximityEvent(DefaultIndexerManager.java:1071) at org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:76) at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.removeRepository(DefaultRepositoryRegistry.java:134) at org.sonatype.nexus.configuration.DefaultNexusConfiguration.deleteRepository(DefaultNexusConfiguration.java:732) at org.sonatype.nexus.DefaultNexus.deleteRepository(DefaultNexus.java:467) at org.sonatype.nexus.rest.repositories.RepositoryResourceHandler.delete(RepositoryResourceHandler.java:221) at org.restlet.resource.Resource.handleDelete(Resource.java:369) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleDelete(AbstractNexusResourceHandler.java:372) at org.restlet.Finder.handle(Finder.java:301) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Guard.accept(Guard.java:83) at org.restlet.Guard.doHandle(Guard.java:198) at org.sonatype.nexus.rest.NexusAuthenticationGuard.doHandle(NexusAuthenticationGuard.java:100) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Guard.accept(Guard.java:83) at org.restlet.Guard.doHandle(Guard.java:198) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) at org.restlet.Application.handle(Application.java:294) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) at org.restlet.Component.handle(Component.java:231) at org.restlet.Server.handle(Server.java:282) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:398) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) 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:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:320) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) 2008-07-07 21:42:56.156 INFO [btpool0-10 - /nexus/service/local/repositories/aaa-hosted-repo:] - org.sonatype.nexus.proxy.registry.RepositoryRegistry:default: Removed repository id=aaa-hosted-repo 2008-07-07 21:42:56.156 INFO [btpool0-10 - /nexus/service/local/repositories/aaa-hosted-repo:] - org.sonatype.nexus.configuration.NexusConfiguration:default: Applying Nexus Configuration...

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='aaa-hosted-repo' not found!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I reindex a shadow repo I got the following exception: 2008-10-17 11:39:10.322 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=nexus-test-harness-shadow : Process started on Fri Oct 17 11:39:10 BRST 2008, not yet finished. 2008-10-17 11:39:10.322 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=nexus-test-harness-shadow : Process started on Fri Oct 17 11:39:10 BRST 2008, finished on Fri Oct 17 11:39:10 BRST 2008 with error. Error message is: org.sonatype.nexus.proxy.NoSuchRepositoryException, ResourceStore of type Repository with id='nexus-test-harness-shadow' not found! Strack trace: org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='nexus-test-harness-shadow' not found! at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:269) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:939) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1342) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:332) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='nexus-test-harness-shadow' not found! at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:269) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:939) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1342) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:332) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) But the request return with success status. Should return error.

    Sonatype JIRA | 8 years ago
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='nexus-test-harness-shadow' not found!
  6. 0

    OSSRH logs are filled with junk like this: {quote} 2014-06-30 12:12:27 WARN [qtp1936214235-377168] knutster com.sonatype.nexus.staging.rest.repository.RepositoryListResource - Failed to convert repository item: id = 'comlicel-1002'; ignoring org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="comlicel-1002" not found at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:124) ~[nexus-core-2.8.1-01.jar:2.8.1-01] at org.sonatype.nexus.rest.ProtectedRepositoryRegistry.getRepository(ProtectedRepositoryRegistry.java:71) ~[nexus-restlet1x-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.rest.repository.RepositoryResourceSupport.convert(RepositoryResourceSupport.java:49) ~[nexus-staging-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.rest.repository.RepositoryListResource$1.doApply(RepositoryListResource.java:94) ~[nexus-staging-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.internal.persist.ConfigurationFunctionSupport.apply(ConfigurationFunctionSupport.java:48) [nexus-staging-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.internal.persist.DefaultStagingConfiguration.browsex(DefaultStagingConfiguration.java:603) [nexus-staging-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.internal.persist.DefaultStagingConfiguration.browse(DefaultStagingConfiguration.java:588) [nexus-staging-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.rest.repository.RepositoryListResource.get(RepositoryListResource.java:79) [nexus-staging-plugin-2.8.1-01/:na] at com.sonatype.nexus.staging.rest.repository.RepositoryListResource.get(RepositoryListResource.java:69) [nexus-staging-plugin-2.8.1-01/:na] at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233) [nexus-restlet1x-plugin-2.8.1-01/:na] at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39) [nexus-restlet1x-plugin-2.8.1-01/:na] {quote}

    Sonatype JIRA | 2 years ago | Jason Dillon
    org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="comlicel-1002" not found

    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. org.sonatype.nexus.proxy.NoSuchRepositoryException

      ResourceStore of type Repository with id='m1-group' not found!

      at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository()
    2. ${project.groupId}:${project.artifactId}
      DefaultRepositoryRegistry.getRepository
      1. org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:136)
      1 frame
    3. Sonatype Nexus Indexer
      ProxyIndexerManager.updateRepositoryIndexContext
      1. org.sonatype.nexus.index.DefaultIndexerManager.updateRepositoryIndexContext(DefaultIndexerManager.java:282)
      2. org.sonatype.nexus.index.ProxyIndexerManager.updateRepositoryIndexContext(ProxyIndexerManager.java:290)
      2 frames
    4. ${project.groupId}:${project.artifactId}
      DefaultEventInspectorHost.onEvent
      1. org.sonatype.nexus.events.RepositoryRegistryRepositoryEventInspector.inspectForIndexerManager(RepositoryRegistryRepositoryEventInspector.java:174)
      2. org.sonatype.nexus.events.RepositoryRegistryRepositoryEventInspector.inspect(RepositoryRegistryRepositoryEventInspector.java:67)
      3. org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48)
      4. org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62)
      4 frames
    5. ${project.groupId}:${project.artifactId}
      AbstractSimpleEventMulticaster.notifyEventListeners
      1. org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
      1 frame
    6. ${project.groupId}:${project.artifactId}
      DefaultNexus.addRepository
      1. org.sonatype.nexus.proxy.repository.AbstractRepository.commitChanges(AbstractRepository.java:162)
      2. org.sonatype.nexus.DefaultNexus.addRepository(DefaultNexus.java:320)
      2 frames
    7. Nexus Core
      RepositoryGroupListPlexusResource.post
      1. org.sonatype.nexus.rest.groups.AbstractRepositoryGroupPlexusResource.createRepositoryGroup(AbstractRepositoryGroupPlexusResource.java:151)
      2. org.sonatype.nexus.rest.groups.AbstractRepositoryGroupPlexusResource.createOrUpdateRepositoryGroup(AbstractRepositoryGroupPlexusResource.java:55)
      3. org.sonatype.nexus.rest.groups.RepositoryGroupListPlexusResource.post(RepositoryGroupListPlexusResource.java:137)
      3 frames
    8. ${project.groupId}:${project.artifactId}
      RestletResource.acceptRepresentation
      1. org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:284)
      1 frame
    9. Nexus Core
      NexusRestletResource.acceptRepresentation
      1. org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:58)
      1 frame
    10. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.post(Resource.java:688)
      2. org.restlet.resource.Resource.handlePost(Resource.java:537)
      2 frames
    11. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:357)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Router.handle(Router.java:504)
      5. org.restlet.Filter.doHandle(Filter.java:150)
      6. org.restlet.Filter.handle(Filter.java:195)
      7. org.restlet.Router.handle(Router.java:504)
      8. org.restlet.Filter.doHandle(Filter.java:150)
      9. org.restlet.Filter.handle(Filter.java:195)
      10. org.restlet.Filter.doHandle(Filter.java:150)
      10 frames
    12. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      1 frame
    13. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Filter.doHandle(Filter.java:150)
      6 frames
    14. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    15. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      3 frames
    16. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      2 frames
    17. org.restlet
      Application.handle
      1. org.restlet.Application.handle(Application.java:341)
      1 frame
    18. org.restlet.ext
      WadlApplication.handle
      1. org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
      1 frame
    19. org.restlet
      Filter.handle
      1. org.restlet.Filter.doHandle(Filter.java:150)
      2. org.restlet.Filter.handle(Filter.java:195)
      3. org.restlet.Router.handle(Router.java:504)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Router.handle(Router.java:504)
      7. org.restlet.Filter.doHandle(Filter.java:150)
      8. org.restlet.Filter.handle(Filter.java:195)
      8 frames
    20. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      1 frame
    21. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:673)
      2. org.restlet.Server.handle(Server.java:331)
      2 frames
    22. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:884)
      3 frames
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    24. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
      2 frames
    25. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      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
    26. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
      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:766)
      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:324)
      10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      11. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
      13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
      14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      15 frames
    27. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      1 frame