java.lang.IllegalArgumentException: Rebuild hosted npm metadata task misconfiguration: no npm repository with ID npmgroup

Sonatype JIRA | Kelly Robinson | 2 years ago
  1. 0

    The rebuild task configuration allows both repositories and groups, but if you select a group it results in an error. {code} jvm 1 | 2015-02-05 16:27:20,877-0800 DEBUG [qtp413353615-810] admin com.sonatype.nexus.analytics.internal.EventRecorderImpl - Record: EventData{type='REST', timestamp=1423182440873, sequence=640, duration=3904595, userId='admin', sessionId='8266dd72-de48-4af4-95b6-74ca830af8ba', attributes={path=/service/local/schedule_run/6, method=GET, ui=true, status=200}} jvm 1 | 2015-02-05 16:27:20,878-0800 WARN [pxpool-1-thread-8] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task NPM Rebuild jvm 1 | java.lang.IllegalArgumentException: Rebuild hosted npm metadata task misconfiguration: no npm repository with ID npmgroup jvm 1 | at com.bolyuba.nexus.plugin.npm.task.NpmHostedMetadataRebuildTask.getAffectedRepositories(NpmHostedMetadataRebuildTask.java:89) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.task.NpmHostedMetadataRebuildTask.getMessage(NpmHostedMetadataRebuildTask.java:66) ~[na:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.getLoggedMessage(AbstractNexusTask.java:192) ~[nexus-core-2.11.2-01.jar:2.11.2-01] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) ~[nexus-core-2.11.2-01.jar:2.11.2-01] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) ~[nexus-scheduler-2.11.2-01.jar:2.11.2-01] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) [nexus-core-2.11.2-01.jar:2.11.2-01] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_31] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_31] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_31] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_31] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_31] jvm 1 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_31] jvm 1 | Caused by: org.sonatype.nexus.proxy.NoSuchRepositoryException: Repository with ID="npmgroup" not found jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepositoryWithFacet(DefaultRepositoryRegistry.java:138) ~[nexus-core-2.11.2-01.jar:2.11.2-01] jvm 1 | at com.bolyuba.nexus.plugin.npm.task.NpmHostedMetadataRebuildTask.getAffectedRepositories(NpmHostedMetadataRebuildTask.java:84) ~[na:na] jvm 1 | ... 13 common frames omitted {code} Appears to work as expected for hosted repos.

    Sonatype JIRA | 2 years ago | Kelly Robinson
    java.lang.IllegalArgumentException: Rebuild hosted npm metadata task misconfiguration: no npm repository with ID npmgroup
  2. 0

    i added the following groups group1: contains public group2: contains group1 group3: contains group2 othergroup: contains all the default hosted/proxy repos. I then edited group1 and added 'othergroup' and upon nexus restart i see jvm 1 | org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='othergroup' not found! jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:147) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.getMemberRepositories(AbstractGroupRepository.java:329) jvm 1 | at org.sonatype.nexus.repositories.metadata.NexusRepositoryMetadataEventInspector.inspect(NexusRepositoryMetadataEventInspector.java:134) jvm 1 | at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48) jvm 1 | at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62) jvm 1 | at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55) jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.insertRepository(DefaultRepositoryRegistry.java:245) jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.addRepository(DefaultRepositoryRegistry.java:81) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.instantiateRepository(DefaultNexusConfiguration.java:509) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:480) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:454) jvm 1 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:685) jvm 1 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) jvm 1 | at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:166) jvm 1 | at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:77) jvm 1 | at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:96) jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198) jvm 1 | at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) jvm 1 | at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) jvm 1 | at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833) jvm 1 | at org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:64) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) jvm 1 | at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) jvm 1 | at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) jvm 1 | at org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:191) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:183) jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) jvm 1 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) jvm 1 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) jvm 1 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) jvm 1 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) jvm 1 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) jvm 1 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) jvm 1 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) jvm 1 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) jvm 1 | at org.mortbay.jetty.Server.doStart(Server.java:224) jvm 1 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) jvm 1 | at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) jvm 1 | at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:166) jvm 1 | at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:77) jvm 1 | at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:96) jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198) jvm 1 | at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:53) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:64) jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) jvm 1 | at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:213) jvm 1 | at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:207) jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:844) jvm 1 | at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:207) jvm 1 | at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:188) jvm 1 | at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:118) jvm 1 | at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:90) jvm 1 | at com.google.inject.Guice.createInjector(Guice.java:105) jvm 1 | at com.google.inject.Guice.createInjector(Guice.java:76) jvm 1 | at com.google.inject.Guice.createInjector(Guice.java:63) jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:126) jvm 1 | at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:343) jvm 1 | at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) jvm 1 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

    Sonatype JIRA | 7 years ago | Damian Bradicich
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='othergroup' not found!
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I started with a clean 1.4.1 install, added an m2 proxy repo, and then added this to "public repositories". After upgrading to latest 1.4.2 snapshot, Nexus won't start. Log shows: {code} INFO | jvm 1 | 2010/01/15 09:59:53 | 2010-01-15 09:59:53 WARN - o.s.n.p.r.GroupRepo~:maven2 - Could not find repository: grid INFO | jvm 1 | 2010/01/15 09:59:53 | org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='grid' not found! INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:125) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.getMemberRepositories(AbstractGroupRepository.java:305) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.maven.AbstractMavenGroupRepositoryConfigurator.doApplyConfiguration(AbstractMavenGroupRepositoryConfigurator.java:35) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.repository.AbstractRepositoryConfigurator.applyConfiguration(AbstractRepositoryConfigurator.java:48) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.AbstractConfigurable.doConfigure(AbstractConfigurable.java:215) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.AbstractConfigurable.configure(AbstractConfigurable.java:151) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.createRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:46) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryFromModel(DefaultNexusConfiguration.java:358) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:457) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:442) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:689) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:651) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:283) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:358) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:383) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.Server.doStart(Server.java:224) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:283) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:358) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:378) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:596) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:281) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:172) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:343) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) INFO | jvm 1 | 2010/01/15 09:59:53 | 2010-01-15 09:59:53 WARN - o.s.n.p.r.GroupRepo~:maven2 - Could not find repository: grid INFO | jvm 1 | 2010/01/15 09:59:53 | org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='grid' not found! INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:125) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.getMemberRepositories(AbstractGroupRepository.java:305) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.repositories.metadata.NexusRepositoryMetadataEventInspector.inspect(NexusRepositoryMetadataEventInspector.java:134) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.insertRepository(DefaultRepositoryRegistry.java:226) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.addRepository(DefaultRepositoryRegistry.java:67) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:459) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:442) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:689) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:651) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:283) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:358) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:383) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.jetty.Server.doStart(Server.java:224) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:283) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:358) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:378) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:596) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:281) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:172) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:343) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) INFO | jvm 1 | 2010/01/15 09:59:53 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) INFO | jvm 1 | 2010/01/15 09:59:53 | 2010-01-15 09:59:53 INFO - o.s.n.p.r.Repositor~:default - Added repository ID='public' (contentClass= {code}

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

    # Create an Evict Unused Proxied Items task that is targetting a specific local repo ( not a group). # delete the repo that is being targetted # Task still remains ( and perhaps it should), but a user can resave the task with the bad (deleted) repo id without error. # Also the user is allowed to try to rerun the task. When they rerun the task configured for a deleted repo the following error is reported in logs: {noformat} vm 1 | 2011-07-31 22:38:48 INFO [qtp-341752521-9] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... jvm 1 | 2011-07-31 22:38:48 INFO [qtp-341752521-9] - org.sonatype.nexus.configuration.validator.DefaultApplicationConfigurationValidator - Nexus configuration validated succesfully. jvm 1 | 2011-07-31 22:39:35 WARN [pool-1-thread-2] - org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask - Could not read repository! jvm 1 | org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='thirdparty' not found! jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:149) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusRepositoriesTask.getRepositoryName(AbstractNexusRepositoriesTask.java:111) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.getMessage(EvictUnusedProxiedItemsTask.java:94) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:680) jvm 1 | 2011-07-31 22:39:35 INFO [pool-1-thread-2] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Evicting unused proxied items for repository thirdparty. : Process started on Sun Jul 31 22:39:35 NDT 2011, not yet finished. jvm 1 | 2011-07-31 22:39:35 INFO [pool-1-thread-2] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Evicting unused proxied items for repository thirdparty. : Process started on Sun Jul 31 22:39:35 NDT 2011, finished on Sun Jul 31 22:39:35 NDT 2011 with error. Error message is: org.sonatype.nexus.proxy.NoSuchRepositoryException, ResourceStore of type Repository with id='thirdparty' not found! Strack trace: org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='thirdparty' not found! jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:149) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:68) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:37) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:680) jvm 1 | jvm 1 | org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='thirdparty' not found! jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:149) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:68) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:37) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:680) jvm 1 | 2011-07-31 22:44:01 INFO [qtp-341752521-9] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... jvm 1 | 2011-07-31 22:44:01 INFO [qtp-341752521-9] - org.sonatype.nexus.configuration.validator.DefaultApplicationConfigurationValidator - Nexus configuration validated succesfully. jvm 1 | 2011-07-31 22:44:12 INFO [tp-341752521-11] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... jvm 1 | 2011-07-31 22:44:12 INFO [tp-341752521-11] - org.sonatype.nexus.configuration.validator.DefaultApplicationConfigurationValidator - Nexus configuration validated succesfully. jvm 1 | 2011-07-31 22:44:13 ERROR [tp-341752521-11] - org.sonatype.nexus.rest.repositories.RepositoryContentPlexusResource - Got exception during processing request "GET http://localhost:8081/nexus/service/local/repositories/apache-snapshots/content/?isLocal&_dc=1312161253029": Repository with ID='apache-snapshots' is not available! jvm 1 | 2011-07-31 22:44:13 INFO [tp-341752521-10] - org.sonatype.nexus.rest.mirrors.RepositoryPredefinedMirrorListPlexusResource - Unable to retrieve metadata, returning no items: org.sonatype.nexus.proxy.RepositoryNotAvailableException: Repository with ID='apache-snapshots' is not available! {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='thirdparty' 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="npmgroup" not found

      at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepositoryWithFacet()
    2. ${project.groupId}:${project.artifactId}
      DefaultRepositoryRegistry.getRepositoryWithFacet
      1. org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepositoryWithFacet(DefaultRepositoryRegistry.java:138)[nexus-core-2.11.2-01.jar:2.11.2-01]
      1 frame
    3. com.bolyuba.nexus
      NpmHostedMetadataRebuildTask.getMessage
      1. com.bolyuba.nexus.plugin.npm.task.NpmHostedMetadataRebuildTask.getAffectedRepositories(NpmHostedMetadataRebuildTask.java:84)[na:na]
      2. com.bolyuba.nexus.plugin.npm.task.NpmHostedMetadataRebuildTask.getMessage(NpmHostedMetadataRebuildTask.java:66)[na:na]
      2 frames
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.scheduling.AbstractNexusTask.getLoggedMessage(AbstractNexusTask.java:192)[nexus-core-2.11.2-01.jar:2.11.2-01]
      2. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139)[nexus-core-2.11.2-01.jar:2.11.2-01]
      2 frames
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)[nexus-scheduler-2.11.2-01.jar:2.11.2-01]
      1 frame
    6. ${project.groupId}:${project.artifactId}
      MDCAwareCallable.call
      1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)[nexus-core-2.11.2-01.jar:2.11.2-01]
      1 frame
    7. Shiro
      SubjectCallable.call
      1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
      2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_31]
      2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_31]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_31]
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_31]
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_31]
      6. java.lang.Thread.run(Thread.java:745)[na:1.8.0_31]
      6 frames