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

Sonatype JIRA | Peter Lynch | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Noticed duplicate logging with stack of same problem at INFO and WARN by the background attributes upgrader task. This in my Nexus logs after upgrading from 1.9.2 WAR file running in tomcat. {noformat} 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Rebuilding attributes in repository ID='releases' from path='/' 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.attributes.upgrade.AttributesUpgradeEventInspector$UpgraderThread - Upgrading legacy attributes of repository "Compass Project" [id=compass-project]. 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Rebuilding attributes in repository ID='compass-project' from path='/' 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.attributes.upgrade.AttributesUpgradeEventInspector$UpgraderThread - Upgrading legacy attributes of repository "Tomcat Release" [id=tomcat.apache.org-release]. 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Rebuilding attributes in repository ID='tomcat.apache.org-release' from path='/' 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.attributes.upgrade.AttributesUpgradeEventInspector$UpgraderThread - Upgrading legacy attributes of repository "Public Snapshot Repositories" [id=public-snapshots]. 2012-01-17 15:30:13 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository - Rebuilding attributes in repository ID='public-snapshots' from path='/' 2012-01-17 15:30:17 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.walker.DefaultWalker - Aborted walking on repository ID='public-snapshots' from path='/', cause: Item not found on path "/com/sonatype/matrix/maven/matrix-maven-eventspy-3.0" in repository "public-snapshots"! 2012-01-17 15:30:17 WARN [ributesUpgrader] - org.sonatype.nexus.proxy.walker.DefaultWalker - Got exception while doing retrieve, bailing out. org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='public-snapshots' from path='/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:170) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:109) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.recreateAttributes(AbstractRepository.java:534) [nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.attributes.upgrade.AttributesUpgradeEventInspector$UpgraderThread.run(AttributesUpgradeEventInspector.java:195) [nexus-proxy-2.0-SNAPSHOT.jar:na] Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/com/sonatype/matrix/maven/matrix-maven-eventspy-3.0" in repository "public-snapshots"! at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doListItems(AbstractGroupRepository.java:220) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1107) [nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:232) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:101) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] ... 2 common frames omitted 2012-01-17 15:30:17 INFO [ributesUpgrader] - org.sonatype.nexus.proxy.walker.DefaultWalker - Aborted walking on repository ID='public-snapshots' from path='/', cause: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='public-snapshots' from path='/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:170) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:109) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.recreateAttributes(AbstractRepository.java:534) [nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.attributes.upgrade.AttributesUpgradeEventInspector$UpgraderThread.run(AttributesUpgradeEventInspector.java:195) [nexus-proxy-2.0-SNAPSHOT.jar:na] Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on path "/com/sonatype/matrix/maven/matrix-maven-eventspy-3.0" in repository "public-snapshots"! at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doListItems(AbstractGroupRepository.java:220) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1107) [nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:232) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:101) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] ... 2 common frames omitted {noformat} Would like to understand why it seemed to abort because of some missing file. And would also like to see only one log of this message at the correct log level if possible. I didn't notice the attributes upgrader ever try to rerun itself - is that expected? Can it be a little more forgiving?

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='public-snapshots' from path='/'.

    Root Cause Analysis

    1. org.sonatype.nexus.proxy.ItemNotFoundException

      Item not found on path "/com/sonatype/matrix/maven/matrix-maven-eventspy-3.0" in repository "public-snapshots"!

      at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doListItems()
    2. ${project.groupId}:${project.artifactId}
      AbstractRepository.recreateAttributes
      1. org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doListItems(AbstractGroupRepository.java:220)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      2. org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1107)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      3. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:232)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      4. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      5. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      6. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      7. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      8. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:253)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      9. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:101)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      10. org.sonatype.nexus.proxy.repository.AbstractRepository.recreateAttributes(AbstractRepository.java:534)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      10 frames
    3. org.sonatype.nexus
      AttributesUpgradeEventInspector$UpgraderThread.run
      1. org.sonatype.nexus.proxy.attributes.upgrade.AttributesUpgradeEventInspector$UpgraderThread.run(AttributesUpgradeEventInspector.java:195)[nexus-proxy-2.0-SNAPSHOT.jar:na]
      1 frame