org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/.index/" in repository "new-repo"!

Sonatype JIRA | Rich Seddon | 6 years ago
  1. 0

    This is in nexus-onboarding-webapp-1.9-20101229.172727-19-bundle.zip (which has Indexer Lucene SVN #7683). After adding a new hosted Maven 2 repository there is an exception in the log: {noformat} 2010-12-29 14:49:33 INFO [p-1355010146-22] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository ID='new-repo' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 2010-12-29 14:49:33 INFO [p-1355010146-22] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2010-12-29 14:49:33 INFO [p-1355010146-22] - org.sonatype.nexus.configuration.validator.DefaultApplicationConfigurationValidator - Nexus configuration validated succesfully. 2010-12-29 14:49:33 INFO [p-1355010146-22] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2010-12-29 14:49:33 INFO [p-1355010146-22] - org.sonatype.nexus.configuration.validator.DefaultApplicationConfigurationValidator - Nexus configuration validated succesfully. 2010-12-29 14:49:33 INFO [ool-1-thread-10] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Reparing repository index new-repo from path null and below. : Process started on Wed Dec 29 14:49:33 CST 2010, not yet finished. 2010-12-29 14:49:33 ERROR [ool-1-thread-10] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot delete index items! org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/.index/" in repository "new-repo"! at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:289) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:312) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:931) at org.sonatype.nexus.index.DefaultIndexerManager.deleteIndexItems(DefaultIndexerManager.java:1297) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:865) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:805) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:55) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:54) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:187) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) 2010-12-29 14:49:33 INFO [ool-1-thread-10] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing best index for repository new-repo 2010-12-29 14:49:33 INFO [ool-1-thread-10] - org.apache.maven.index.packer.DefaultIndexPacker - Unable to read properties file, will force index regeneration 2010-12-29 14:49:33 INFO [ool-1-thread-10] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Reparing repository index new-repo from path null and below. : Process started on Wed Dec 29 14:49:33 CST 2010, finished successfully on Wed Dec 29 14:49:33 CST 2010 {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/.index/" in repository "new-repo"!
  2. 0

    Set Download Remote Indexes to True for maven Central => The following is logged in the log file: 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository with ID=central : Process started on Fri Jan 16 09:13:50 MST 2009, not yet finished. 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository central 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.p.w.Walker:default - Walking on repository ID='central' from path='/.index' aborted, cause: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:573) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:477) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:736) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:93) at org.sonatype.nexus.proxy.repository.AbstractRepository.clearCaches(AbstractRepository.java:424) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:840) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:797) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:699) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:658) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1369) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:337) 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-01-16 09:15:18 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Remote indexes updated successfully for repository central 2009-01-16 09:15:18 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Publishing best index for repository central 2009-01-16 09:15:58 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository with ID=central

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central
  3. 0

    Set Download Remote Indexes to True for maven Central => The following is logged in the log file: 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository with ID=central : Process started on Fri Jan 16 09:13:50 MST 2009, not yet finished. 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository central 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.p.w.Walker:default - Walking on repository ID='central' from path='/.index' aborted, cause: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:573) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:477) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:736) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:93) at org.sonatype.nexus.proxy.repository.AbstractRepository.clearCaches(AbstractRepository.java:424) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:840) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:797) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:699) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:658) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1369) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:337) 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-01-16 09:15:18 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Remote indexes updated successfully for repository central 2009-01-16 09:15:18 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Publishing best index for repository central 2009-01-16 09:15:58 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository with ID=central

    Sonatype JIRA | 6 years ago | Alexander Pogrebnyak
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Set Download Remote Indexes to True for maven Central => The following is logged in the log file: 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository with ID=central : Process started on Fri Jan 16 09:13:50 MST 2009, not yet finished. 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository central 2009-01-16 09:13:50 INFO [pool-1-thread-1] - o.s.n.p.w.Walker:default - Walking on repository ID='central' from path='/.index' aborted, cause: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:573) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:477) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:736) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:93) at org.sonatype.nexus.proxy.repository.AbstractRepository.clearCaches(AbstractRepository.java:424) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:840) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:797) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:699) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:658) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1369) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:337) 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-01-16 09:15:18 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Remote indexes updated successfully for repository central 2009-01-16 09:15:18 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Publishing best index for repository central 2009-01-16 09:15:58 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository with ID=central

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central
  6. 0

    The following log statement is printed out as INFO, should only be DEBUG2009-05-27 10:38:28 INFO - o.s.n.p.w.Walker:default - Aborted walking on repository ID='central' from path='/.index', cause: jvm 1 | org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:638) jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:334) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:792) jvm 1 | at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:92) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.clearCaches(AbstractRepository.java:480) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:629) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:592) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:559) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:473) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:429) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1324) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) jvm 1 | at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Damian Bradicich
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central:/.index in repository central

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

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.sonatype.nexus.proxy.ItemNotFoundException

      Item not found on path "/.index/" in repository "new-repo"!

      at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile()
    2. ${project.groupId}:${project.artifactId}
      AbstractRepository.deleteItem
      1. org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:289)
      2. org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:312)
      3. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:931)
      3 frames
    3. Sonatype Nexus Indexer
      DefaultIndexerManager.reindexRepository
      1. org.sonatype.nexus.index.DefaultIndexerManager.deleteIndexItems(DefaultIndexerManager.java:1297)
      2. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:865)
      3. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:805)
      3 frames
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:55)
      2. org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:54)
      3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:187)
      3 frames
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      7. java.lang.Thread.run(Thread.java:680)
      7 frames