org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/xerces/xercesImpl/ in repository releases

Sonatype JIRA | Deleted User | 8 years ago
  1. 0

    Having a Nexus group configured containing an artifact in versions stemming from different repos (from a hosted and a proxied repo), the rebuild of meta data for that artifact fails (no actualization) since the version downloaded from the remote repo contains no Maven meta data. Moreover an error occurs in the Nexus application, because in this group contained repos not having this artifact run into an ItemNotFoundException (stack trace see below). {noformat} 2009-05-06 18:52:19 INFO [ool-1-thread-13] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository group Public Repositories from path /xerces/xercesImpl/ and below. : Process started on Wed May 06 18:52:19 CEST 2009, not yet finished. 2009-05-06 18:52:19 INFO [ool-1-thread-13] - o.s.n.p.r.Repository:maven2 - Recreating Maven2 metadata in repository ID='releases' from path='/xerces/xercesImpl/' 2009-05-06 18:52:19 INFO [ool-1-thread-13] - o.s.n.p.w.Walker:default - Aborted walking on repository ID='releases' from path='/xerces/xercesImpl/', cause: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/xerces/xercesImpl/ 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(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-05-06 18:52:19 INFO [ool-1-thread-13] - o.s.n.f.FeedRecorder:default - Rebuilding maven metadata of repository group Public Repositories from path /xerces/xercesImpl/ and below. : Process started on Wed May 06 18:52:19 CEST 2009, finished on Wed May 06 18:52:19 CEST 2009 with error. Error message is: org.sonatype.nexus.proxy.walker.WalkerException, Aborted walking on repository ID='releases' from path='/xerces/xercesImpl/'. Strack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='releases' from path='/xerces/xercesImpl/'. 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(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) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/xerces/xercesImpl/ 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='/xerces/xercesImpl/'. 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(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) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/xerces/xercesImpl/ 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 {noformat}

    Sonatype JIRA | 8 years ago | Deleted User
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID releases:/xerces/xercesImpl/ in repository releases
  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 UID releases:/xerces/xercesImpl/ in repository releases

      at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem()
    2. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:638)
      2. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:334)
      3. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:792)
      4. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:92)
      5. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:175)
      6. org.sonatype.nexus.DefaultNexus.rebuildMavenMetadataRepositoryGroup(DefaultNexus.java:1404)
      7. org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:36)
      8. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139)
      8 frames
    3. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342)
      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