org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="comlicel-1002" not found

Sonatype JIRA | Jason Dillon | 2 years ago
  1. 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
  2. 0

    procurement features are no longer trialed in the trial eval guide https://github.com/sonatype/nexus-bundles/blob/nexus-2.9.x/assemblies/nexus-trial/src/main/content/trial-config/conf/procurement.xml Including procurement.xml causes scary WARN logging on startup: {noformat} 2014-09-19 08:48:15,359+0100 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Tasks]... 2014-09-19 08:48:15,390+0100 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.NxApplication - Nexus Work Directory : C:\Users\f114612\AppData\Local\nexus-pro-trial 2014-09-19 08:48:15,390+0100 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.NxApplication - Started Sonatype Nexus Professional 2.9.1-02 2014-09-19 08:48:15,702+0100 WARN [jetty-main-1] *SYSTEM com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler - Problem during gathering procurement repositories targeting at repository M2Repository(id=central) org.sonatype.configuration.validation.InvalidConfigurationException: The procured repository procured-central points to a nonexistent target ID: central at com.sonatype.nexus.procurement.DefaultProcurementManager.getProcurementRepositoriesForTargetRepository(DefaultProcurementManager.java:226) ~[nexus-procurement-plugin-2.9.1-02/:na] at com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler.inspect(ProcurementAutoroutingEventHandler.java:80) [nexus-procurement-plugin-2.9.1-02/:na] at com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler.on(ProcurementAutoroutingEventHandler.java:64) [nexus-procurement-plugin-2.9.1-02/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_60] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.startup(ManagerImpl.java:199) [nexus-core-2.9.1-02.jar:2.9.1-02] at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.onNexusStartedEvent(ManagerImpl.java:994) [nexus-core-2.9.1-02.jar:2.9.1-02] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_60] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:49) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.9.jar:1.9] at org.sonatype.nexus.NxApplication.doStart(NxApplication.java:172) [nexus-core-2.9.1-02.jar:2.9.1-02] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70) [goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255) [goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57) [goodies-lifecycle-1.9.jar:1.9] at org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129) [goodies-lifecycle-1.9.jar:1.9] at org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:168) [classes/:na] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.doStart(Server.java:282) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247) [nexus-bootstrap-2.9.1-02.jar:2.9.1-02] Caused by: org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="procured-central" not found at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:124) ~[nexus-core-2.9.1-02.jar:2.9.1-02] at com.sonatype.nexus.procurement.DefaultProcurementManager.getProcurementRepositoriesForTargetRepository(DefaultProcurementManager.java:221) ~[nexus-procurement-plugin-2.9.1-02/:na] ... 47 common frames omitted {noformat}

    Sonatype JIRA | 2 years ago | Peter Lynch
    org.sonatype.configuration.validation.InvalidConfigurationException: The procured repository procured-central points to a nonexistent target ID: central
  3. 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!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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!
  6. 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!

    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

      Repository with ID="comlicel-1002" 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:124)[nexus-core-2.8.1-01.jar:2.8.1-01]
      1 frame
    3. Nexus Core
      ProtectedRepositoryRegistry.getRepository
      1. org.sonatype.nexus.rest.ProtectedRepositoryRegistry.getRepository(ProtectedRepositoryRegistry.java:71)[nexus-restlet1x-plugin-2.8.1-01/:na]
      1 frame
    4. com.sonatype.nexus
      RepositoryListResource.get
      1. com.sonatype.nexus.staging.rest.repository.RepositoryResourceSupport.convert(RepositoryResourceSupport.java:49)[nexus-staging-plugin-2.8.1-01/:na]
      2. com.sonatype.nexus.staging.rest.repository.RepositoryListResource$1.doApply(RepositoryListResource.java:94)[nexus-staging-plugin-2.8.1-01/:na]
      3. com.sonatype.nexus.staging.internal.persist.ConfigurationFunctionSupport.apply(ConfigurationFunctionSupport.java:48)[nexus-staging-plugin-2.8.1-01/:na]
      4. com.sonatype.nexus.staging.internal.persist.DefaultStagingConfiguration.browsex(DefaultStagingConfiguration.java:603)[nexus-staging-plugin-2.8.1-01/:na]
      5. com.sonatype.nexus.staging.internal.persist.DefaultStagingConfiguration.browse(DefaultStagingConfiguration.java:588)[nexus-staging-plugin-2.8.1-01/:na]
      6. com.sonatype.nexus.staging.rest.repository.RepositoryListResource.get(RepositoryListResource.java:79)[nexus-staging-plugin-2.8.1-01/:na]
      7. com.sonatype.nexus.staging.rest.repository.RepositoryListResource.get(RepositoryListResource.java:69)[nexus-staging-plugin-2.8.1-01/:na]
      7 frames
    5. ${project.groupId}:${project.artifactId}
      RestletResource.represent
      1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233)[nexus-restlet1x-plugin-2.8.1-01/:na]
      1 frame
    6. Nexus Core
      NexusRestletResource.represent
      1. org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39)[nexus-restlet1x-plugin-2.8.1-01/:na]
      1 frame