org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path /xpp3/poms/xpp3_min-1.1.3.4.O.pom

Sonatype JIRA | Brian Demers | 8 years ago
  1. 0

    I ran an evict task for all repositories, and 0 days (remove everything) I noticed lots of exceptions similar to this: 2008-06-30 10:51:52,667 WARN [org.sonatype.nexus.proxy.repository.Repository:m2-m1-shadow] - Could not sync shadow repository because of exception jvm 1 | org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path /xpp3/poms/xpp3_min-1.1.3.4.O.pom jvm 1 | at org.sonatype.nexus.proxy.maven.LayoutConverterShadowRepository.transformM1toM2(LayoutConverterShadowRepository.java:264) jvm 1 | at org.sonatype.nexus.proxy.maven.maven1.M1LayoutedM2ShadowRepository.transformShadow2Master(M1LayoutedM2ShadowRepository.java:95) jvm 1 | at org.sonatype.nexus.proxy.repository.ShadowRepository.doRetrieveItem(ShadowRepository.java:154) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:830) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:939) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:966) jvm 1 | at org.sonatype.nexus.proxy.repository.ShadowRepository.onProximityEvent(ShadowRepository.java:127) jvm 1 | at org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:76) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:955) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:966) jvm 1 | at org.sonatype.nexus.proxy.repository.EvictUnusedItemsWalker.processFileItem(EvictUnusedItemsWalker.java:53) jvm 1 | at org.sonatype.nexus.proxy.utils.StoreFileWalker.processItem(StoreFileWalker.java:48) jvm 1 | at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:276) jvm 1 | at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:287) jvm 1 | at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:287) jvm 1 | at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:287) jvm 1 | at org.sonatype.nexus.proxy.utils.StoreWalker.walk(StoreWalker.java:192) jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.evictUnusedItems(AbstractMavenRepository.java:107) jvm 1 | at org.sonatype.nexus.DefaultNexus.evictUnusedItems(DefaultNexus.java:704) jvm 1 | at org.sonatype.nexus.DefaultNexus.evictAllUnusedProxiedItems(DefaultNexus.java:721) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:69) jvm 1 | at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:36) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:111) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:269) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:123) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) jvm 1 | at java.lang.Thread.run(Thread.java:613)

    Sonatype JIRA | 8 years ago | Brian Demers
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path /xpp3/poms/xpp3_min-1.1.3.4.O.pom
  2. 0

    It seems, the remover tries to delete a file with extension .jar which does of course not exist. This results in the following stack trace (slightly anonymized): 2008-11-24 22:45:06.597 INFO [pxpool-1-thread-9:] - org.sonatype.nexus.maven.tasks.SnapshotRemover:default: Removing old SNAPSHOT deployments from snapshots repository. 2008-11-24 22:47:18.562 WARN [pxpool-1-thread-9:] - org.sonatype.nexus.maven.tasks.SnapshotRemover:default: Could not delete file: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID snapshots: /path-to-artifact/1.1-SNAPSHOT/artifact-name-1.1-20080425.0909251.jar in repository snapshots at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:244) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:909) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:1031) at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.deleteWithoutChecksums(ArtifactStoreHelper.java:111) at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.handleDelete(ArtifactStoreHelper.java:392) at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.deleteArtifact(ArtifactStoreHelper.java:359) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.deleteArtifact(AbstractMavenRepository.java:416) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalker.onCollectionExit(DefaultSnapshotRemover.java:419) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:341) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:328) at org.sonatype.nexus.proxy.utils.StoreWalker.walk(StoreWalker.java:218) at org.sonatype.nexus.proxy.utils.StoreWalker.walk(StoreWalker.java:137) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalker.start(DefaultSnapshotRemover.java:500) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:163) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:94) at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:895) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:102) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:33) 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: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:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

    Sonatype JIRA | 8 years ago | Deleted User
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID snapshots: /path-to-artifact/1.1-SNAPSHOT/artifact-name-1.1-20080425.0909251.jar in repository snapshots
  3. 0

    My metadata was wrong ( I found it while building something else ) and the error that maven spits out is not all that helpful <?xml version="1.0" encoding="UTF-8"?> <metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <versioning> <latest>2.1-SNAPSHOT</latest> <release></release> <versions> <version>2.0-beta-1</version> <version>2.0</version> <version>2.0.1</version> <version>2.0.2</version> <version>0.1-stub-SNAPSHOT</version> <version>2.1-SNAPSHOT</version> </versions> <lastUpdated>20090628173529</lastUpdated> </versioning> </metadata> So I browsed to this node in the repo browser and click on Rebuild Metadata. 2009-06-29 11:14:01 DEBUG [ompiler-plugin/] - org.mortbay.log - RESPONSE /nexus/service/local/metadata/repo_groups/public/content/org/apache/maven/plugins/maven-compiler-plugin/ 204 2009-06-29 11:14:01 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository group Public Repositories from path /org/apache/maven/plugins/maven-compiler-plugin/ and below. : Process started on Mon Jun 29 11:14:01 EDT 2009, not yet finished. 2009-06-29 11:14:01 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Recreating Maven2 metadata in repository ID='releases' from path='/org/apache/maven/plugins/maven-compiler-plugin/' 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.w.Walker:default - Start walking on ResourceStore releases from path '/org/apache/maven/plugins/maven-compiler-plugin/'. 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - retrieveItem() :: releases:/org/apache/maven/plugins/maven-compiler-plugin/ 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - releases:/org/apache/maven/plugins/maven-compiler-plugin/ :: localOnly=true, remoteOnly=false 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.s.l.LocalRe~:file - /org/apache/maven/plugins/maven-compiler-plugin/ --> /Users/demers/dev/nexus-personal/nexus-webapp-1.3.3/bin/jsw/macosx-universal-32/../../../../sonatype-work/nexus/storage/releases/org/apache/maven/plugins/maven-compiler-plugin 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Item releases:/org/apache/maven/plugins/maven-compiler-plugin/ not found in local storage. 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - Item releases:/org/apache/maven/plugins/maven-compiler-plugin/ does not exist locally and cannot go remote, throwing ItemNotFoundException. 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 - releases retrieveItem() :: NOT FOUND releases:/org/apache/maven/plugins/maven-compiler-plugin/ 2009-06-29 11:14:01 DEBUG [pool-1-thread-1] - o.s.n.p.w.Walker:default - ItemNotFound where walking should start, bailing out. org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/org/apache/maven/plugins/maven-compiler-plugin/ in repository releases at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:638) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:334) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:792) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:92) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:175) at org.sonatype.nexus.DefaultNexus.rebuildMavenMetadataRepositoryGroup(DefaultNexus.java:1404) at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) 2009-06-29 11:14:01 INFO [pool-1-thread-1] - o.s.n.p.w.Walker:default - Aborted walking on repository ID='releases' from path='/org/apache/maven/plugins/maven-compiler-plugin/', cause: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/org/apache/maven/plugins/maven-compiler-plugin/ in repository releases at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:638) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:334) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:792) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:92) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:175) at org.sonatype.nexus.DefaultNexus.rebuildMavenMetadataRepositoryGroup(DefaultNexus.java:1404) at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) 2009-06-29 11:14:01 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository group Public Repositories from path /org/apache/maven/plugins/maven-compiler-plugin/ and below. : Process started on Mon Jun 29 11:14:01 EDT 2009, finished on Mon Jun 29 11:14:01 EDT 2009 with error. Error message is: org.sonatype.nexus.proxy.walker.WalkerException, Aborted walking on repository ID='releases' from path='/org/apache/maven/plugins/maven-compiler-plugin/'. Strack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='releases' from path='/org/apache/maven/plugins/maven-compiler-plugin/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:180) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:103) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:175) at org.sonatype.nexus.DefaultNexus.rebuildMavenMetadataRepositoryGroup(DefaultNexus.java:1404) at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/org/apache/maven/plugins/maven-compiler-plugin/ in repository releases at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:638) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:334) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:792) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:92) ... 12 more org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='releases' from path='/org/apache/maven/plugins/maven-compiler-plugin/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:180) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:103) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:175) at org.sonatype.nexus.DefaultNexus.rebuildMavenMetadataRepositoryGroup(DefaultNexus.java:1404) at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/org/apache/maven/plugins/maven-compiler-plugin/ in repository releases at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:638) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:334) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:792) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:92) ... 12 more

    Sonatype JIRA | 7 years ago | Brian Demers
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/org/apache/maven/plugins/maven-compiler-plugin/ in repository releases
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When deleting snapshots, every checksum file we attempt to delete generates a stacktrace at debug level. {code} 2013-04-18 14:52:58 DEBUG [ool-1-thread-14] - org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover - Could not delete file: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org/sonatype/test/1.0-SNAPSHOT/test-1.0-20130418.213921-1.pom.sha1', requestContext=RequestContext{this={DeleteOperation=MOVE_TO_TRASH, request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={moreTsSnapshotsExistsForGav=true, org.sonatype.nexus.proxy.maven.gav.Gav=org.sonatype.nexus.proxy.maven.gav.Gav@c80ae97f}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}}}}}}}}}}}}}}}}}}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Snapshots" [id=snapshots]"! at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:304) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:327) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:997) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.doOnCollectionExit(DefaultSnapshotRemover.java:603) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.onCollectionExit(DefaultSnapshotRemover.java:404) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:387) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:269) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:94) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:228) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.process(DefaultSnapshotRemover.java:169) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:117) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:123) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:27) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:179) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) [sisu-task-scheduler-1.7.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_15] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_15] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_15] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_15] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_15] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_15] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_15] {code}

    Sonatype JIRA | 4 years ago | Kelly Robinson
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org/sonatype/test/1.0-SNAPSHOT/test-1.0-20130418.213921-1.pom.sha1', requestContext=RequestContext{this={DeleteOperation=MOVE_TO_TRASH, request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={moreTsSnapshotsExistsForGav=true, org.sonatype.nexus.proxy.maven.gav.Gav=org.sonatype.nexus.proxy.maven.gav.Gav@c80ae97f}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}}}}}}}}}}}}}}}}}}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Snapshots" [id=snapshots]"!
  6. 0

    When deleting snapshots, every checksum file we attempt to delete generates a stacktrace at debug level. {code} 2013-04-18 14:52:58 DEBUG [ool-1-thread-14] - org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover - Could not delete file: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org/sonatype/test/1.0-SNAPSHOT/test-1.0-20130418.213921-1.pom.sha1', requestContext=RequestContext{this={DeleteOperation=MOVE_TO_TRASH, request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={moreTsSnapshotsExistsForGav=true, org.sonatype.nexus.proxy.maven.gav.Gav=org.sonatype.nexus.proxy.maven.gav.Gav@c80ae97f}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}}}}}}}}}}}}}}}}}}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Snapshots" [id=snapshots]"! at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:304) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:327) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:997) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.doOnCollectionExit(DefaultSnapshotRemover.java:603) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.onCollectionExit(DefaultSnapshotRemover.java:404) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:387) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:269) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:94) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:228) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.process(DefaultSnapshotRemover.java:169) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:117) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:123) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:27) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:179) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) [sisu-task-scheduler-1.7.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_15] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_15] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_15] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_15] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_15] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_15] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_15] {code}

    Sonatype JIRA | 4 years ago | Kelly Robinson
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org/sonatype/test/1.0-SNAPSHOT/test-1.0-20130418.213921-1.pom.sha1', requestContext=RequestContext{this={DeleteOperation=MOVE_TO_TRASH, request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={moreTsSnapshotsExistsForGav=true, org.sonatype.nexus.proxy.maven.gav.Gav=org.sonatype.nexus.proxy.maven.gav.Gav@c80ae97f}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}}}}}}}}}}}}}}}}}}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Snapshots" [id=snapshots]"!

    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 /xpp3/poms/xpp3_min-1.1.3.4.O.pom

      at org.sonatype.nexus.proxy.maven.LayoutConverterShadowRepository.transformM1toM2()
    2. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.proxy.maven.LayoutConverterShadowRepository.transformM1toM2(LayoutConverterShadowRepository.java:264)
      2. org.sonatype.nexus.proxy.maven.maven1.M1LayoutedM2ShadowRepository.transformShadow2Master(M1LayoutedM2ShadowRepository.java:95)
      3. org.sonatype.nexus.proxy.repository.ShadowRepository.doRetrieveItem(ShadowRepository.java:154)
      4. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:830)
      5. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:939)
      6. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:966)
      7. org.sonatype.nexus.proxy.repository.ShadowRepository.onProximityEvent(ShadowRepository.java:127)
      8. org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:76)
      9. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:955)
      10. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:966)
      11. org.sonatype.nexus.proxy.repository.EvictUnusedItemsWalker.processFileItem(EvictUnusedItemsWalker.java:53)
      12. org.sonatype.nexus.proxy.utils.StoreFileWalker.processItem(StoreFileWalker.java:48)
      13. org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:276)
      14. org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:287)
      15. org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:287)
      16. org.sonatype.nexus.proxy.utils.StoreWalker.walkRecursive(StoreWalker.java:287)
      17. org.sonatype.nexus.proxy.utils.StoreWalker.walk(StoreWalker.java:192)
      18. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.evictUnusedItems(AbstractMavenRepository.java:107)
      19. org.sonatype.nexus.DefaultNexus.evictUnusedItems(DefaultNexus.java:704)
      20. org.sonatype.nexus.DefaultNexus.evictAllUnusedProxiedItems(DefaultNexus.java:721)
      21. org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:69)
      22. org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:36)
      23. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:111)
      23 frames
    3. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:269)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      7. java.lang.Thread.run(Thread.java:613)
      7 frames