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

Sonatype JIRA | Raymond Asuncion | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 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='/'.
  2. 0
    samebug tip
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  3. 0

    is it possible to run IE8 on ubuntu via selenium?

    Stack Overflow | 2 years ago | koto-moto
    java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.ie.driver system property; for more information, see http://code.google.com/p/selenium/wiki/InternetExplorerDriver. The latest version can be downloaded from http://selenium-release.storage.googleapis.com/index.html
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android\cordova\build.bat: Command failed with exit code 8 in multiple project

    Stack Overflow | 2 years ago | zhang.yuan
    java.lang.IllegalStateException: buildToolsVersion is not specified.
  6. 0

    Unsupported major.minor version 52.0

    GitHub | 1 year ago | RoelRoel
    java.lang.IllegalStateException: buildToolsVersion is not specified.
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. java.lang.IllegalStateException

    Base URL not set

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:176)[guava-16.0.1.jar:na]
    1 frame
  3. ${project.groupId}:${project.artifactId}
    BaseUrlHolder.get
    1. org.sonatype.nexus.web.BaseUrlHolder.get(BaseUrlHolder.java:58)[nexus-core-2.11.1-01.jar:2.11.1-01]
    1 frame
  4. com.bolyuba.nexus
    DefaultNpmProxyRepository.doRetrieveLocalItem
    1. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageVersionDist(GeneratorSupport.java:191)[na:na]
    2. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageRootDist(GeneratorSupport.java:175)[na:na]
    3. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generatePackageRoot(GeneratorSupport.java:112)[na:na]
    4. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.producePackageRoot(GeneratorSupport.java:77)[na:na]
    5. com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.doRetrieveLocalItem(DefaultNpmProxyRepository.java:179)[na:na]
    5 frames
  5. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1232)[nexus-core-2.11.1-01.jar:2.11.1-01]
    2. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:992)[nexus-core-2.11.1-01.jar:2.11.1-01]
    3. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:758)[nexus-core-2.11.1-01.jar:2.11.1-01]
    4. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:84)[nexus-core-2.11.1-01.jar:2.11.1-01]
    5. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:935)[nexus-core-2.11.1-01.jar:2.11.1-01]
    6. org.sonatype.nexus.proxy.repository.EvictUnusedItemsWalkerProcessor.onCollectionExit(EvictUnusedItemsWalkerProcessor.java:123)[nexus-core-2.11.1-01.jar:2.11.1-01]
    7. org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:325)[nexus-core-2.11.1-01.jar:2.11.1-01]
    8. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:226)[nexus-core-2.11.1-01.jar:2.11.1-01]
    9. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:209)[nexus-core-2.11.1-01.jar:2.11.1-01]
    10. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:89)[nexus-core-2.11.1-01.jar:2.11.1-01]
    11. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doEvictUnusedItems(AbstractProxyRepository.java:385)[nexus-core-2.11.1-01.jar:2.11.1-01]
    12. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doEvictUnusedItems(AbstractProxyRepository.java:366)[nexus-core-2.11.1-01.jar:2.11.1-01]
    13. org.sonatype.nexus.proxy.repository.AbstractRepository.evictUnusedItems(AbstractRepository.java:522)[nexus-core-2.11.1-01.jar:2.11.1-01]
    14. org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doEvictUnusedItems(AbstractGroupRepository.java:144)[nexus-core-2.11.1-01.jar:2.11.1-01]
    15. org.sonatype.nexus.proxy.repository.AbstractRepository.evictUnusedItems(AbstractRepository.java:522)[nexus-core-2.11.1-01.jar:2.11.1-01]
    16. org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:66)[nexus-core-2.11.1-01.jar:2.11.1-01]
    17. org.sonatype.nexus.tasks.EvictUnusedProxiedItemsTask.doRun(EvictUnusedProxiedItemsTask.java:28)[nexus-core-2.11.1-01.jar:2.11.1-01]
    18. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151)[nexus-core-2.11.1-01.jar:2.11.1-01]
    18 frames
  6. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)[nexus-scheduler-2.11.1-01.jar:2.11.1-01]
    1 frame
  7. ${project.groupId}:${project.artifactId}
    MDCAwareCallable.call
    1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)[nexus-core-2.11.1-01.jar:2.11.1-01]
    1 frame
  8. Shiro
    SubjectCallable.call
    1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
    2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_25]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_25]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_25]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_25]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_25]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_25]
    7. java.lang.Thread.run(Thread.java:724)[na:1.7.0_25]
    7 frames