java.util.NoSuchElementException

Sonatype JIRA | Deleted User | 8 years ago
  1. 0

    I scheduled a task in my nexus repository to remove all old snapshots version kept on the harddrive. The problem is that the artifacts are not deleted and I found a stack trace in the log file. {noformat} 2009-01-07 11:22:42.946 INFO [pxpool-1-thread-10:] - org.sonatype.nexus.feeds.FeedRecorder:default: Removing snapshots from repository group with ID=snapshot : Process started on Wed Jan 07 11:22:42 EST 2009, not yet finished. 2009-01-07 11:22:42.946 INFO [pxpool-1-thread-10:] - org.sonatype.nexus.maven.tasks.SnapshotRemover:default: Removing old SNAPSHOT deployments from snapshot repository group. 2009-01-07 11:23:12.255 WARN [pxpool-1-thread-10:] - org.sonatype.nexus.proxy.walker.Walker:default: Walking aborted, cause: java.util.NoSuchElementException at java.util.TreeMap.key(TreeMap.java:433) at java.util.TreeMap.lastKey(TreeMap.java:297) at java.util.TreeSet.last(TreeSet.java:417) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.onCollectionExit(DefaultSnapshotRemover.java:410) at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:373) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:290) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:149) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:55) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:180) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:121) at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:958) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:101) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:37) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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:168) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) 2009-01-07 11:23:13.533 INFO [pxpool-1-thread-10:] - org.sonatype.nexus.feeds.FeedRecorder:default: Removing snapshots from repository group with ID=snapshot : Process started on Wed Jan 07 11:22:42 EST 2009, finished successfully on Wed Jan 07 11:23:13 EST 2009 {noformat}

    Sonatype JIRA | 8 years ago | Deleted User
    java.util.NoSuchElementException
  2. 0

    I scheduled a task in my nexus repository to remove all old snapshots version kept on the harddrive. The problem is that the artifacts are not deleted and I found a stack trace in the log file. {noformat} 2009-01-07 11:22:42.946 INFO [pxpool-1-thread-10:] - org.sonatype.nexus.feeds.FeedRecorder:default: Removing snapshots from repository group with ID=snapshot : Process started on Wed Jan 07 11:22:42 EST 2009, not yet finished. 2009-01-07 11:22:42.946 INFO [pxpool-1-thread-10:] - org.sonatype.nexus.maven.tasks.SnapshotRemover:default: Removing old SNAPSHOT deployments from snapshot repository group. 2009-01-07 11:23:12.255 WARN [pxpool-1-thread-10:] - org.sonatype.nexus.proxy.walker.Walker:default: Walking aborted, cause: java.util.NoSuchElementException at java.util.TreeMap.key(TreeMap.java:433) at java.util.TreeMap.lastKey(TreeMap.java:297) at java.util.TreeSet.last(TreeSet.java:417) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.onCollectionExit(DefaultSnapshotRemover.java:410) at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:373) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:290) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:149) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:55) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:180) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:121) at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:958) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:101) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:37) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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:168) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) 2009-01-07 11:23:13.533 INFO [pxpool-1-thread-10:] - org.sonatype.nexus.feeds.FeedRecorder:default: Removing snapshots from repository group with ID=snapshot : Process started on Wed Jan 07 11:22:42 EST 2009, finished successfully on Wed Jan 07 11:23:13 EST 2009 {noformat}

    Sonatype JIRA | 8 years ago | Deleted User
    java.util.NoSuchElementException
  3. 0

    Genesys Info Mart 7.6.x Release Note

    genesys.com | 1 year ago
    java.util.NoSuchElementException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    task.nextAvailableStartingTimes(LocalDateTime from)

    GitHub | 2 years ago | isostorm
    java.util.NoSuchElementException
  6. 0

    Stacey error in Tree Annotator

    Google Groups | 2 weeks ago | Elisa Ramos
    java.util.NoSuchElementException

    1 unregistered visitors
    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.util.NoSuchElementException

      No message provided

      at java.util.TreeMap.key()
    2. Java RT
      TreeSet.last
      1. java.util.TreeMap.key(TreeMap.java:433)
      2. java.util.TreeMap.lastKey(TreeMap.java:297)
      3. java.util.TreeSet.last(TreeSet.java:417)
      3 frames
    3. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.onCollectionExit(DefaultSnapshotRemover.java:410)
      2. org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:373)
      3. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:290)
      4. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277)
      5. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277)
      6. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277)
      7. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277)
      8. org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:277)
      9. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:149)
      10. org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:55)
      11. org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:180)
      12. org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:121)
      13. org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:958)
      14. org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:101)
      15. org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:37)
      16. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147)
      16 frames
    4. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      7. java.lang.Thread.run(Thread.java:595)
      7 frames