org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/.nexus/trash/'.

Sonatype JIRA | Lee Balkaan | 1 year ago
  1. 0

    Seeing same issue as Nexus-8248 but I am on 2.11.3 What is weird is I've been on 2.11.3 for over a week with NPM repository configured. This job runs daily and I've only received this error today, and any time I try manually running it today. {{Task ID: 2 Task Name: Empty the trash every morning Stack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/.nexus/trash/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:153) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purge(DefaultWastebasket.java:208) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purgeAll(DefaultWastebasket.java:147) at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:66) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:163) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) 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$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1251) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1034) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:760) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84) ... 15 more Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.shouldTryRemote(AbstractProxyRepository.java:1050) at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.shouldTryRemote(DefaultNpmProxyRepository.java:281) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1068) ... 18 more }}

    Sonatype JIRA | 1 year ago | Lee Balkaan
    org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/.nexus/trash/'.
  2. 0

    If the request is not external then the NPM implementation should not need the baseURL. We are going to make a separate issue for BaseURL itself. ===Original desc=== I recently added npm repositories in Nexus. After a while, I noticed that our server storage is maxing out. I did some digging and found out that Nexus trash directory is taking up too much storage. I checked Nexus logs and found that the scheduled tasks for deleting old snapshots and evicting unused proxied items are failing. The scheduled tasks are failing only when its trying to delete npmjs repository. Below are the stack trace of the scheduled jobs: {panel} 2015-03-11 08:14:23 WARN [pxpool-1-thread-4] mon.asuncion org.sonatype.nexus.tasks.EmptyTrashTask - Scheduled task (Babelcentral Repository Cleanup) failed :: Emptying Trash. (started 2015-03-11T08:14:23+00:00, runtime 0:00:00.010) org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/.nexus/trash/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:152) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purge(DefaultWastebasket.java:191) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:68) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) ~[nexus-scheduler-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.3.jar:1.2.3] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1247) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1030) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:758) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 14 common frames omitted Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.shouldTryRemote(AbstractProxyRepository.java:1046) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.shouldTryRemote(DefaultNpmProxyRepository.java:264) ~[na:na] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1064) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 17 common frames omitted 2015-03-11 08:14:23 WARN [pxpool-1-thread-4] mon.asuncion org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Babelcentral Repository Cleanup org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/.nexus/trash/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:152) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purge(DefaultWastebasket.java:191) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:68) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) ~[nexus-scheduler-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.3.jar:1.2.3] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1247) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1030) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:758) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 14 common frames omitted Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.shouldTryRemote(AbstractProxyRepository.java:1046) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.shouldTryRemote(DefaultNpmProxyRepository.java:264) ~[na:na] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1064) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 17 common frames omitted {panel} {panel} 2015-03-11 08:37:57 WARN [pxpool-1-thread-16] mon.asuncion org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask - Scheduled task (Purge unused items) failed :: Evicting unused proxied items for all registered proxy repositories. (started 2015-03-11T08:37:57+00:00, runtime 0:00:00.035) org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:152) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doEvictUnusedItems(AbstractProxyRepository.java:385) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doEvictUnusedItems(AbstractProxyRepository.java:366) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.evictUnusedItems(AbstractRepository.java:522) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doEvictUnusedItems(AbstractGroupRepository.java:144) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.evictUnusedItems(AbstractRepository.java:522) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:66) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:28) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) ~[nexus-scheduler-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.3.jar:1.2.3] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/form-data'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:152) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:935) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.EvictUnusedItemsWalkerProcessor.onCollectionExit(EvictUnusedItemsWalkerProcessor.java:123) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:325) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:226) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:209) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:89) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 19 common frames omitted Caused by: java.lang.IllegalStateException: Base URL not set at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.jar:na] at org.sonatype.nexus.web.BaseUrlHolder.get(BaseUrlHolder.java:58) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageVersionDist(GeneratorSupport.java:191) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageRootDist(GeneratorSupport.java:175) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generatePackageRoot(GeneratorSupport.java:112) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.producePackageRoot(GeneratorSupport.java:77) ~[na:na] at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.doRetrieveLocalItem(DefaultNpmProxyRepository.java:179) ~[na:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1232) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:992) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:758) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 25 common frames omitted 2015-03-11 08:37:57 WARN [pxpool-1-thread-16] mon.asuncion org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Purge unused items org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:152) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doEvictUnusedItems(AbstractProxyRepository.java:385) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doEvictUnusedItems(AbstractProxyRepository.java:366) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.evictUnusedItems(AbstractRepository.java:522) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doEvictUnusedItems(AbstractGroupRepository.java:144) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.evictUnusedItems(AbstractRepository.java:522) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:66) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:28) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) ~[nexus-scheduler-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.3.jar:1.2.3] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/form-data'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:152) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:118) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:935) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.EvictUnusedItemsWalkerProcessor.onCollectionExit(EvictUnusedItemsWalkerProcessor.java:123) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:325) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:226) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:209) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:89) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 19 common frames omitted Caused by: java.lang.IllegalStateException: Base URL not set at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.jar:na] at org.sonatype.nexus.web.BaseUrlHolder.get(BaseUrlHolder.java:58) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageVersionDist(GeneratorSupport.java:191) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageRootDist(GeneratorSupport.java:175) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generatePackageRoot(GeneratorSupport.java:112) ~[na:na] at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.producePackageRoot(GeneratorSupport.java:77) ~[na:na] at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.doRetrieveLocalItem(DefaultNpmProxyRepository.java:179) ~[na:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1232) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:992) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:758) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84) ~[nexus-core-2.11.1-01.jar:2.11.1-01] ... 25 common frames omitted {panel}

    Sonatype JIRA | 2 years ago | Raymond Asuncion
    org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='npmjs' from path='/.nexus/trash/'.
  3. 0

    Steps to reproduce * Start fresh/new nexus 2.4 or 2.5-SNAPSHOT * Run a build against public repo * Delete files cached in Central proxy local storage The following exception appears in nexus.log {noformat} 2013-04-16 07:25:45 WARN [qtp114387244-65] - org.sonatype.nexus.proxy.maven.maven1.M1LayoutedM2ShadowRepository - Could not sync shadow repository because of exception org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org.sonatype.spice/poms/spice-parent-16.pom.sha1', requestContext=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Central M1 shadow" [id=central-m1]"! at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:302) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:325) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:999) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.maven.LayoutConverterShadowRepository.deleteLink(LayoutConverterShadowRepository.java:503) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.repository.AbstractShadowRepository.onRepositoryItemEvent(AbstractShadowRepository.java:144) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.repository.ShadowRepositoryEventInspector.inspect(ShadowRepositoryEventInspector.java:61) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:131) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:104) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_09] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_09] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:69) [goodies-eventbus-1.6.jar:1.6] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:304) [goodies-eventbus-1.6.jar:1.6] at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.6.jar:1.6] at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:59) [goodies-eventbus-1.6.jar:1.6] at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:251) [goodies-eventbus-1.6.jar:1.6] at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:96) [goodies-eventbus-1.6.jar:1.6] at org.sonatype.nexus.proxy.repository.DeletionNotifierWalker.processItem(DeletionNotifierWalker.java:55) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.processItem(DefaultWalker.java:344) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkItem(DefaultWalker.java:280) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:245) [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.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:1022) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:710) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.delete(AbstractResourceStoreContentPlexusResource.java:250) [nexus-restlet1x-plugin-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:369) [plexus-restlet-bridge-1.25.jar:1.25] at org.sonatype.nexus.rest.NexusRestletResource.removeRepresentations(NexusRestletResource.java:106) [nexus-restlet1x-plugin-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.restlet.resource.Resource.delete(Resource.java:223) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.resource.Resource.handleDelete(Resource.java:383) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Finder.handle(Finder.java:361) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) [plexus-restlet-bridge-1.25.jar:1.25] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) [plexus-restlet-bridge-1.25.jar:1.25] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Application.handle(Application.java:341) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Component.handle(Component.java:676) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.restlet.Server.handle(Server.java:331) [org.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [com.noelios.restlet-1.1.6-SONATYPE-5348-V8.jar:na] at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V8.jar:na] at org.sonatype.nexus.web.NexusRestletServlet.service(NexusRestletServlet.java:96) [nexus-restlet1x-plugin-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.v201112011016.jar:na] at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-3.1.2.jar:na] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.1.jar:1.2.1] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.2.jar:na] at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:88) [nexus-web-utils-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.2.jar:na] at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:88) [nexus-web-utils-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:58) [nexus-web-utils-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) [guice-servlet-3.1.2.jar:na] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) [guice-servlet-3.1.2.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307) [jetty-servlet-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453) [jetty-servlet-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560) [jetty-security-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) [jetty-servlet-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:365) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) [jetty-http-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [jetty-io-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.8.v20121106.jar:8.1.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.8.v20121106.jar:8.1.8.v20121106] at org.sonatype.sisu.jetty.thread.RunnableWrapper.run(RunnableWrapper.java:38) [sisu-jetty8-1.4.2.jar:1.4.2] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09] {noformat}

    Sonatype JIRA | 4 years ago | Igor Fedorenko
    org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org.sonatype.spice/poms/spice-parent-16.pom.sha1', requestContext=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Central M1 shadow" [id=central-m1]"!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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/'.
  6. 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

    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

      Request is marked as local-only, remote access not allowed from DefaultNpmProxyRepository(id=npmjs)

      at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.shouldTryRemote()
    2. ${project.groupId}:${project.artifactId}
      AbstractProxyRepository.shouldTryRemote
      1. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.shouldTryRemote(AbstractProxyRepository.java:1050)
      1 frame
    3. com.bolyuba.nexus
      DefaultNpmProxyRepository.shouldTryRemote
      1. com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.shouldTryRemote(DefaultNpmProxyRepository.java:281)
      1 frame
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1068)
      2. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1034)
      3. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:760)
      4. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84)
      5. org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purge(DefaultWastebasket.java:208)
      6. org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purgeAll(DefaultWastebasket.java:147)
      7. org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:66)
      8. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:163)
      8 frames
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)
      1 frame
    6. ${project.groupId}:${project.artifactId}
      MDCAwareCallable.call
      1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)
      1 frame
    7. Shiro
      SubjectCallable.call
      1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:724)
      7 frames