org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='aaa-hosted-repo' not found!

Sonatype JIRA | Kristine O'Connor | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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 | 9 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='aaa-hosted-repo' not found!
  2. 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 | 9 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='aaa-hosted-repo' not found!
  3. 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 | 9 years ago
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='nexus-test-harness-shadow' not found!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 | 3 years ago | Jason Dillon
    org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="comlicel-1002" not found
  6. 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 | 3 years ago | Peter Lynch
    org.sonatype.configuration.validation.InvalidConfigurationException: The procured repository procured-central points to a nonexistent target ID: central

    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='aaa-hosted-repo' 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:241)
      1 frame
    3. Sonatype Nexus Indexer
      DefaultIndexerManager.onProximityEvent
      1. org.sonatype.nexus.index.DefaultIndexerManager.removeRepositoryIndexContext(DefaultIndexerManager.java:247)
      2. org.sonatype.nexus.index.DefaultIndexerManager.onProximityEvent(DefaultIndexerManager.java:1071)
      2 frames
    4. ${project.groupId}:${project.artifactId}
      DefaultNexus.deleteRepository
      1. org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:76)
      2. org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.removeRepository(DefaultRepositoryRegistry.java:134)
      3. org.sonatype.nexus.configuration.DefaultNexusConfiguration.deleteRepository(DefaultNexusConfiguration.java:732)
      4. org.sonatype.nexus.DefaultNexus.deleteRepository(DefaultNexus.java:467)
      4 frames
    5. Nexus Core
      RepositoryResourceHandler.delete
      1. org.sonatype.nexus.rest.repositories.RepositoryResourceHandler.delete(RepositoryResourceHandler.java:221)
      1 frame
    6. org.restlet.resource
      Resource.handleDelete
      1. org.restlet.resource.Resource.handleDelete(Resource.java:369)
      1 frame
    7. Nexus Core
      AbstractNexusResourceHandler.handleDelete
      1. org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleDelete(AbstractNexusResourceHandler.java:372)
      1 frame
    8. org.restlet
      Guard.doHandle
      1. org.restlet.Finder.handle(Finder.java:301)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Guard.accept(Guard.java:83)
      4. org.restlet.Guard.doHandle(Guard.java:198)
      4 frames
    9. Nexus Core
      NexusAuthenticationGuard.doHandle
      1. org.sonatype.nexus.rest.NexusAuthenticationGuard.doHandle(NexusAuthenticationGuard.java:100)
      1 frame
    10. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Guard.accept(Guard.java:83)
      7. org.restlet.Guard.doHandle(Guard.java:198)
      8. org.restlet.Filter.handle(Filter.java:135)
      9. org.restlet.Filter.doHandle(Filter.java:105)
      10. org.restlet.Filter.handle(Filter.java:135)
      11. org.restlet.Filter.doHandle(Filter.java:105)
      12. org.restlet.Filter.handle(Filter.java:135)
      13. org.restlet.Router.handle(Router.java:445)
      14. org.restlet.Filter.doHandle(Filter.java:105)
      15. org.restlet.Filter.handle(Filter.java:135)
      16. org.restlet.Filter.doHandle(Filter.java:105)
      16 frames
    11. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      1 frame
    12. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      3 frames
    13. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
      1 frame
    14. org.restlet
      Filter.doHandle
      1. org.restlet.Application.handle(Application.java:294)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Filter.handle(Filter.java:135)
      7. org.restlet.Router.handle(Router.java:445)
      8. org.restlet.Filter.doHandle(Filter.java:105)
      8 frames
    15. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      1 frame
    16. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      3 frames
    17. com.noelios.restlet
      ComponentHelper.handle
      1. com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
      1 frame
    18. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:231)
      2. org.restlet.Server.handle(Server.java:282)
      2 frames
    19. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:398)
      3 frames
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      1 frame
    21. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      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:726)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:320)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    22. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame