org.sonatype.configuration.validation.InvalidConfigurationException: The procured repository procured-central points to a nonexistent target ID: central

Sonatype JIRA | Peter Lynch | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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
  2. 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
  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 | 8 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

    If a staging repository cleanup task encounters a staging repository that is no longer on it's clean up list it aborts running completely. {noformat} 2016-10-17 18:00:18 INFO [pxpool-1-thread-1] *TASK com.sonatype.nexus.staging.internal.task.DropInactiveRepositoriesTask - STARTED Drop staging repositories 2016-10-17 18:00:18 INFO [pxpool-1-thread-1] *TASK com.sonatype.nexus.staging.internal.task.DropInactiveRepositoriesTask - Inactive repositories selected to drop: [build-36007, ..., build-36646] 2016-10-17 18:00:18 INFO [pxpool-1-thread-1] *TASK com.sonatype.nexus.staging.internal.DefaultStagingManager - Dropping staging repositories [build-36007, ..., build-36646] 2016-10-17 18:00:18 WARN [pxpool-1-thread-1] *TASK com.sonatype.nexus.staging.internal.DefaultStagingManager - Abort background; task preparations failed org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="build-36202" not found at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:124) at com.sonatype.nexus.staging.internal.task.RepositoryDropTask$DropItem.<init>(RepositoryDropTask.java:79) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.RepositoryDropTask$DropItem.<init>(RepositoryDropTask.java:76) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.RepositoryDropTask.createItem(RepositoryDropTask.java:85) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$1.doApply(OperationTaskSupport.java:126) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$1.doApply(OperationTaskSupport.java:1) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.persist.ConfigurationFunctionSupport.apply(ConfigurationFunctionSupport.java:48) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.persist.DefaultStagingConfiguration.browsex(DefaultStagingConfiguration.java:616) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.resolveItem(OperationTaskSupport.java:113) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.<init>(OperationTaskSupport.java:164) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.RepositoryDropTask$DropOperation.<init>(RepositoryDropTask.java:95) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.RepositoryDropTask.createOperation(RepositoryDropTask.java:264) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.RepositoryDropTask.createOperation(RepositoryDropTask.java:1) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.discoverOperations(OperationTaskSupport.java:401) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.prepare(OperationTaskSupport.java:386) ~[nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.DefaultStagingManager.prepareBackgroundTask(DefaultStagingManager.java:193) [nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.DefaultStagingManager.dropStagingRepositories(DefaultStagingManager.java:376) [nexus-staging-plugin-2.12.0-01/:na] at com.sonatype.nexus.staging.internal.task.DropInactiveRepositoriesTask.execute(DropInactiveRepositoriesTask.java:146) [nexus-staging-plugin-2.12.0-01/:na] {noformat} It shouldn't do this. Having this task complete is critical to end users who have large numbers of staging repositories, when the task doesn't run it can cause the entire instance to become unstable.

    Sonatype JIRA | 6 months ago | Rich Seddon
    org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="build-36202" not found
  6. 0

    Got this error on logs: 2009-08-07 08:55:48 ERROR [exus970-default] - o.s.n.p.e.EventInsp~ - Could not maintain indexing contexts! org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='nexus970-default' 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.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173) 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:320) 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) Was a reindex task scheduled, but the repo was deleted.

    Sonatype JIRA | 8 years ago | Marvin Herman Froeder
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='nexus970-default' 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="procured-central" 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.9.1-02.jar:2.9.1-02]
      1 frame
    3. com.sonatype.nexus
      ProcurementAutoroutingEventHandler.on
      1. com.sonatype.nexus.procurement.DefaultProcurementManager.getProcurementRepositoriesForTargetRepository(DefaultProcurementManager.java:221)[nexus-procurement-plugin-2.9.1-02/:na]
      2. com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler.inspect(ProcurementAutoroutingEventHandler.java:80)[nexus-procurement-plugin-2.9.1-02/:na]
      3. com.sonatype.nexus.procurement.ProcurementAutoroutingEventHandler.on(ProcurementAutoroutingEventHandler.java:64)[nexus-procurement-plugin-2.9.1-02/:na]
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_60]
      4 frames
    5. org.sonatype.sisu
      EventBus.dispatch
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.9.jar:1.9]
      2 frames
    6. ${project.groupId}:${project.artifactId}
      ReentrantGuavaEventBus.dispatchQueuedEvents
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.9.jar:1.9]
      2 frames
    7. org.sonatype.sisu
      EventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    8. ${project.groupId}:${project.artifactId}
      DefaultEventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    9. ${project.groupId}:${project.artifactId}
      ManagerImpl.onNexusStartedEvent
      1. org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.startup(ManagerImpl.java:199)[nexus-core-2.9.1-02.jar:2.9.1-02]
      2. org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.onNexusStartedEvent(ManagerImpl.java:994)[nexus-core-2.9.1-02.jar:2.9.1-02]
      2 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_60]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_60]
      4 frames
    11. org.sonatype.sisu
      EventBus.dispatch
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.guava.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:49)[goodies-eventbus-1.9.jar:1.9]
      3. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.9.jar:1.9]
      3 frames
    12. ${project.groupId}:${project.artifactId}
      ReentrantGuavaEventBus.dispatchQueuedEvents
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.9.jar:1.9]
      2 frames
    13. org.sonatype.sisu
      EventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    14. ${project.groupId}:${project.artifactId}
      DefaultEventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    15. ${project.groupId}:${project.artifactId}
      NxApplication.doStart
      1. org.sonatype.nexus.NxApplication.doStart(NxApplication.java:172)[nexus-core-2.9.1-02.jar:2.9.1-02]
      1 frame
    16. ${project.groupId}:${project.artifactId}
      LifecycleSupport.start
      1. org.sonatype.sisu.goodies.lifecycle.LifecycleSupport$Handler.doStart(LifecycleSupport.java:70)[goodies-lifecycle-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext$MainMap_Starting.started(LifecycleHandlerContext.java:255)[goodies-lifecycle-1.9.jar:1.9]
      3. org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext.started(LifecycleHandlerContext.java:57)[goodies-lifecycle-1.9.jar:1.9]
      4. org.sonatype.sisu.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:129)[goodies-lifecycle-1.9.jar:1.9]
      4 frames
    17. org.sonatype.nexus
      WebappBootstrap.contextInitialized
      1. org.sonatype.nexus.webapp.WebappBootstrap.contextInitialized(WebappBootstrap.java:168)[classes/:na]
      1 frame
    18. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520]
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520]
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      9. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      10. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      11. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      12. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      13. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      14. org.eclipse.jetty.server.Server.doStart(Server.java:282)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      15. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      15 frames
    19. org.sonatype.nexus
      JettyServer$JettyMainThread.run
      1. org.sonatype.nexus.bootstrap.jetty.JettyServer$JettyMainThread.run(JettyServer.java:247)[nexus-bootstrap-2.9.1-02.jar:2.9.1-02]
      1 frame