org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"!

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    Noticed this test failure: https://builds.sonatype.org/view/nexus/job/nexus-oss/767/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.proxy/RouterTest/testCreateCollection/ It looks like from the log message timing that we are not allowing enough time for Jetty remote proxy to completely start up before it is queried by the test. {noformat} Error Message Item not found on path "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"! Stacktrace org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"! at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1265) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1085) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:393) at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:417) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:769) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:584) at org.sonatype.nexus.proxy.M2ResourceStoreTest.retrieveItem(M2ResourceStoreTest.java:45) at org.sonatype.nexus.proxy.M2ResourceStoreTest.testCreateCollection(M2ResourceStoreTest.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Standard Output 08:30:01.940 [main] WARN o.s.s.c.s.FileSecurityConfigurationSource - No configuration file in place, copying the default one and continuing with it. 08:30:01.941 [main] INFO o.s.s.c.s.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-proxy/target/plexus-home-6852492207199181941/nexus-work/conf/security-configuration.xml 08:30:01.944 [main] INFO o.s.n.p.a.DefaultLSAttributeStorage - Default LS AttributeStorage in place. 08:30:01.945 [main] INFO o.s.n.p.a.DefaultAttributesHandler - Legacy AttributeStorage directory exists here "/opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-proxy/target/plexus-home-6852492207199181941/nexus-work/proxy/attributes", transitioning them on-the-fly as they are used to repository storage. 08:30:01.956 [main] INFO org.mortbay.log - jetty-6.1.19 08:30:01.957 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:43214 [INFO] Creating and configuring EHCache manager with classpath:/ehcache.xml, using disk store 'none' 08:30:01.966 [main] INFO o.s.n.p.r.DefaultRepositoryTypeRegistry - Registered default repository types. 08:30:01.966 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='repo1' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository') 08:30:01.969 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='inhouse' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 08:30:01.973 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='inhouse-snapshot' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 08:30:01.979 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='test' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.repository.GroupRepository') 08:30:01.982 [main] INFO o.s.n.p.s.r.c.CommonsHttpClientRemoteStorage - Remote storage settings change detected for ProxyRepository ID="repo1" ("repo1"), updating HttpClient... 08:30:01.982 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.982 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.983 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.983 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.983 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.983 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.984 [main] ERROR o.s.n.p.maven.maven2.M2Repository - Got RemoteStorageException in proxy repository "repo1" [id=repo1] while retrieving remote artifact "/activemq/activemq-core/1.2/activemq-core-1.2.jar" from URL http://localhost:43214/repo1/, this is 1 (re)try, cause: java.net.ConnectException: Connection refused 08:30:01.984 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.985 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.985 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.985 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.985 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.985 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.986 [main] ERROR o.s.n.p.maven.maven2.M2Repository - Got RemoteStorageException in proxy repository "repo1" [id=repo1] while retrieving remote artifact "/activemq/activemq-core/1.2/activemq-core-1.2.jar" from URL http://localhost:43214/repo1/, this is 2 (re)try, cause: java.net.ConnectException: Connection refused 08:30:01.986 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.986 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.987 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.987 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.987 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 08:30:01.987 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request 08:30:01.987 [main] ERROR o.s.n.p.maven.maven2.M2Repository - Got RemoteStorageException in proxy repository "repo1" [id=repo1] while retrieving remote artifact "/activemq/activemq-core/1.2/activemq-core-1.2.jar" from URL http://localhost:43214/repo1/, this is 3 (re)try, cause: java.net.ConnectException: Connection refused 08:30:01.988 [main] WARN o.s.n.p.maven.maven2.M2Repository - Remote peer of proxy repository "repo1" [id=repo1] threw a org.sonatype.nexus.proxy.RemoteStorageException exception. Connection/transport problems occured while connecting to remote peer of the repository. Auto-blocking this repository to prevent further connection-leaks and known-to-fail outbound connections until administrator fixes the problems, or Nexus detects remote repository as healthy. - Cause(s): Transport error while executing GET method [repositoryId="repo1", requestPath="/activemq/activemq-core/1.2/activemq-core-1.2.jar", remoteUrl="http://localhost:43214/repo1/activemq/activemq-core/1.2/activemq-core-1.2.jar"] > Connection refused [INFO] Shutting down EHCache manager. 08:30:01.993 [RepositoryStatusChecker-repo1] INFO o.s.n.p.r.DefaultRepositoryRegistry-repo1 - Next attempt to auto-unblock the "repo1" (id=repo1) repository by checking its remote peer health will occur in 40 seconds. {noformat} All tests that use a simulated remote proxy should at least not proceed until the proxy is fully started. Adding to the current iteration to verify at least this is not a regression. If it something that needs significant rework then it should be postponed until after 2.0

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"!
  2. 0

    Most of the time this passes - but sometimes I've had it fail - This was with master branch today. {noformat} Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.253 sec <<< FAILURE! testSimplerRemoteLeak(org.sonatype.nexus.proxy.SimpleRemoteLeakTest) Time elapsed: 3.145 sec <<< ERROR! org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"! at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1124) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:954) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:399) at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:405) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:770) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:575) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:189) at org.sonatype.nexus.proxy.SimpleRemoteLeakTest.testSimplerRemoteLeak(SimpleRemoteLeakTest.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"!
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    Task ID: 309 Task Name: EmptyTrash Stack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='central' from path='/.nexus/trash/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:167) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:126) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purge(DefaultWastebasket.java:201) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purgeAll(DefaultWastebasket.java:131) at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:53) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:152) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/.nexus/trash/.nexus/attributes/.meta" in repository "central"! at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.listItems(DefaultFSPeer.java:310) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.listItems(DefaultFSLocalRepositoryStorage.java:452) at org.sonatype.nexus.proxy.repository.AbstractRepository.doListItems(AbstractRepository.java:1298) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1097) at org.sonatype.nexus.proxy.item.DefaultStorageCollectionItem.list(DefaultStorageCollectionItem.java:110) at org.sonatype.nexus.proxy.wastebasket.WastebasketWalker.onCollectionExit(WastebasketWalker.java:79) at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:361) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:252) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:239) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:239) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:239) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:93) ... 12 more

    Sonatype JIRA | 4 years ago | Stan Devitt
    org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='central' from path='/.nexus/trash/'.

    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 "/activemq/activemq-core/1.2/activemq-core-1.2.jar" in repository "repo1"!

      at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0()
    2. ${project.groupId}:${project.artifactId}
      M2ResourceStoreTest.testCreateCollection
      1. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1265)
      2. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1085)
      3. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:393)
      4. org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:417)
      5. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:769)
      6. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:584)
      7. org.sonatype.nexus.proxy.M2ResourceStoreTest.retrieveItem(M2ResourceStoreTest.java:45)
      8. org.sonatype.nexus.proxy.M2ResourceStoreTest.testCreateCollection(M2ResourceStoreTest.java:153)
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      7. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      15 frames
    5. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      5 frames