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

Sonatype JIRA | Kristine O'Connor | 8 years ago
  1. 0

    Created a scheduled task to Synchronize Shadow Repository and selected the Apache Snapshots repo => The task kicked off at the specified time, however the status updates to broken and the following is logged in the nexus.log: 2008-10-16 12:11:00.024 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Synchronizing virtual repository ID='apache-snapshots') with it's master repository. : Process started on Thu Oct 16 12:11:00 MST 2008, not yet finished. 2008-10-16 12:11:00.056 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Synchronizing virtual repository ID='apache-snapshots') with it's master repository. : Process started on Thu Oct 16 12:11:00 MST 2008, finished on Thu Oct 16 12:11:00 MST 2008 with error. Error message is: org.sonatype.nexus.proxy.NoSuchRepositoryException, ResourceStore of type Repository with id='apache-snapshots' not found! Strack trace: org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='apache-snapshots' not found! at org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:939) at org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:53) 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='apache-snapshots' not found! at org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:939) at org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:53) 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)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='apache-snapshots' not found!
  2. 0

    Created a scheduled task to Synchronize Shadow Repository and selected the Apache Snapshots repo => The task kicked off at the specified time, however the status updates to broken and the following is logged in the nexus.log: 2008-10-16 12:11:00.024 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Synchronizing virtual repository ID='apache-snapshots') with it's master repository. : Process started on Thu Oct 16 12:11:00 MST 2008, not yet finished. 2008-10-16 12:11:00.056 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Synchronizing virtual repository ID='apache-snapshots') with it's master repository. : Process started on Thu Oct 16 12:11:00 MST 2008, finished on Thu Oct 16 12:11:00 MST 2008 with error. Error message is: org.sonatype.nexus.proxy.NoSuchRepositoryException, ResourceStore of type Repository with id='apache-snapshots' not found! Strack trace: org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='apache-snapshots' not found! at org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:939) at org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:53) 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='apache-snapshots' not found! at org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:939) at org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:53) 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)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='apache-snapshots' not found!
  3. 0

    1 - Create a new shadow repo (id:nexus-shadow-repo) 2 - Create a new Syncronize Shadow Repository Task (Syncronize Shadow Repository Task:nexus-shadow-repo and recurrence:manual) 3 - Run it manually 4 - Got the following stack trace at log: 2008-08-28 13:17:51.476 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Synchronizing virtual repository ID='') with it's master repository. : Process started on Thu Aug 28 13:17:51 BRT 2008, not yet finished. 2008-08-28 13:17:51.492 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Synchronizing virtual repository ID='') with it's master repository. : Process started on Thu Aug 28 13:17:51 BRT 2008, finished on Thu Aug 28 13:17:51 BRT 2008 with error. Error message is: org.sonatype.nexus.proxy.NoSuchRepositoryException, ResourceStore of type Repository with id='' not found! Strack trace: org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='' not found! at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:269) at org.sonatype.nexus.DefaultNexus.getRepository(DefaultNexus.java:311) at org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:903) at org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:52) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:312) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='' not found! at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:269) at org.sonatype.nexus.DefaultNexus.getRepository(DefaultNexus.java:311) at org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:903) at org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:52) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:312) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)

    Sonatype JIRA | 8 years ago | Marvin Herman Froeder
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='' not found!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    Scheduled Tasks => Select a scheduled task of Rebuild Maven Metadata Files and select the repository of Central M1 Shadow (Repo) as the Repository/Group => Execute the scheduled task => The following is logged in the log file: 2009-02-17 10:11:26 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository central-m1 from path null and below. : Process started on Tue Feb 17 10:11:26 MST 2009, not yet finished. 2009-02-17 10:11:26 WARN [pool-1-thread-1] - o.s.s.SchedulerTask:Rebuild~ - Could not read repository! org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='central-m1' not found! at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.readRepository(DefaultNexusConfiguration.java:815) at org.sonatype.nexus.DefaultNexus.readRepository(DefaultNexus.java:526) at org.sonatype.nexus.scheduling.AbstractNexusRepositoriesTask.getRepositoryName(AbstractNexusRepositoriesTask.java:86) at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.getMessage(RebuildMavenMetadataTask.java:64) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:141) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:339) 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) 2009-02-17 10:11:26 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository central-m1 from path null and below.

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='central-m1' not found!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.sonatype.nexus.proxy.NoSuchRepositoryException

      ResourceStore of type Repository with id='apache-snapshots' not found!

      at org.sonatype.nexus.DefaultNexus.synchronizeShadow()
    2. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.DefaultNexus.synchronizeShadow(DefaultNexus.java:939)
      2. org.sonatype.nexus.tasks.SynchronizeShadowsTask.doRun(SynchronizeShadowsTask.java:53)
      3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136)
      3 frames
    3. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:332)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      7. java.lang.Thread.run(Unknown Source)
      7 frames