java.lang.NullPointerException: null

Sonatype JIRA | Michael Pailloncy | 2 years ago
  1. 0

    When the purge of the timeline is launched as a scheduled task, a NPE is thrown : 2014-07-23 10:35:19 WARN [pool-1-thread-4] - org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task purge-old-timeline java.lang.NullPointerException: null at org.sonatype.timeline.internal.DefaultTimeline.purgeFromIndexer(DefaultTimeline.java:241) ~[na:na] at org.sonatype.timeline.internal.DefaultTimeline.purge(DefaultTimeline.java:197) ~[na:na] at org.sonatype.nexus.timeline.DefaultNexusTimeline.purgeOlderThan(DefaultNexusTimeline.java:183) ~[na:na] at org.sonatype.nexus.timeline.tasks.PurgeTimeline.doRun(PurgeTimeline.java:109) ~[na:na] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:177) ~[nexus-core-2.6.4-02.jar:2.6.4-02] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:483) ~[nexus-scheduler-2.6.4-02.jar:2.6.4-02] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) ~[nexus-core-2.6.4-02.jar:2.6.4-02] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.2.jar:1.2.2] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.2.jar:1.2.2] 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] Thus, the timeline is growing indefinitely. Can you please have a look at this problem. Thanks in advance.

    Sonatype JIRA | 2 years ago | Michael Pailloncy
    java.lang.NullPointerException: null
  2. 0

    HQL Exception (org.hibernate.dialect.Dialect$3)

    Stack Overflow | 4 years ago | Hari
    java.lang.NullPointerException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error loading model properties in JPA on play 2.0.3

    Stack Overflow | 4 years ago | Chappies
    java.lang.NullPointerException: null
  5. 0

    Why lift can't find my "db.properties"

    Stack Overflow | 5 years ago | Freewind
    java.lang.NullPointerException: null

    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.NullPointerException

      null

      at org.sonatype.timeline.internal.DefaultTimeline.purgeFromIndexer()
    2. org.sonatype.timeline
      DefaultTimeline.purge
      1. org.sonatype.timeline.internal.DefaultTimeline.purgeFromIndexer(DefaultTimeline.java:241)[na:na]
      2. org.sonatype.timeline.internal.DefaultTimeline.purge(DefaultTimeline.java:197)[na:na]
      2 frames
    3. org.sonatype.nexus
      PurgeTimeline.doRun
      1. org.sonatype.nexus.timeline.DefaultNexusTimeline.purgeOlderThan(DefaultNexusTimeline.java:183)[na:na]
      2. org.sonatype.nexus.timeline.tasks.PurgeTimeline.doRun(PurgeTimeline.java:109)[na:na]
      2 frames
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:177)[nexus-core-2.6.4-02.jar:2.6.4-02]
      1 frame
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:483)[nexus-scheduler-2.6.4-02.jar:2.6.4-02]
      1 frame
    6. ${project.groupId}:${project.artifactId}
      MDCAwareCallable.call
      1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)[nexus-core-2.6.4-02.jar:2.6.4-02]
      1 frame
    7. Shiro
      SubjectCallable.call
      1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.2.jar:1.2.2]
      2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.2.jar:1.2.2]
      2 frames
    8. 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