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

Sonatype JIRA | Lee Balkaan | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 2 years 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/'.

    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