Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-8276

NullPointerException during Purge Timeline task

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11, 2.11.1, 2.11.2, 2.11.4
    • Fix Version/s: 2.12.0
    • Labels:
      None

      Description

      Seen this on repository.apache.org and at least one customer instance.

      Task ID: 879 
      Task Name: Purge Nexus Timeline 
      Stack trace: 
      java.lang.NullPointerException 
      at org.sonatype.timeline.internal.DefaultTimeline.purgeOlderThan(DefaultTimeline.java:165) 
      at org.sonatype.nexus.timeline.DefaultNexusTimeline.purgeOlderThan(DefaultNexusTimeline.java:157) 
      at org.sonatype.nexus.timeline.tasks.PurgeTimeline.doRun(PurgeTimeline.java:50) 
      at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) 
      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.run(FutureTask.java:262) 
      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:744)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title