java.lang.NullPointerException

Sonatype JIRA | Rich Seddon | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I had a proxy repo in Artifactory which proxied a host which can't be resolved: http://repository.sonatyp.org/content/repositories/snapshots After import I got an NPE in the nexus log. I didn't see any problems other than this, the repo was created correctly in Nexus. 2009-08-31 14:13:36 INFO [ool-1-thread-17] - o.s.n.f.FeedRecorder:default - Reindexing repository the sss repo-releases from path null and below. : Process started on Mon Aug 31 14:13:35 PDT 2009, finished on Mon Aug 31 14:13:36 PDT 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember(DefaultIndexerManager.java:858) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:596) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:483) at org.sonatype.nexus.index.ProxyIndexerManager.reindexRepository(ProxyIndexerManager.java:200) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:54) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:181) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember(DefaultIndexerManager.java:858) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:596) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:483) at org.sonatype.nexus.index.ProxyIndexerManager.reindexRepository(ProxyIndexerManager.java:200) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:54) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:181) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2009-08-31 14:13:36 INFO [pool-1-thread-1] - o.s.n.c.v.Applicati~:default - Nexus configuration validated succesfully. 2009-08-31 14:13:36 INFO [pool-1-thread-1] - o.s.n.c.a.NexusConf~ - Applying Nexus Configuration...

    Sonatype JIRA | 7 years ago | Rich Seddon
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember()
    2. Sonatype Nexus Indexer
      ProxyIndexerManager.reindexRepository
      1. org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember(DefaultIndexerManager.java:858)
      2. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:596)
      3. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:483)
      4. org.sonatype.nexus.index.ProxyIndexerManager.reindexRepository(ProxyIndexerManager.java:200)
      4 frames
    3. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:54)
      2. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:181)
      2 frames
    4. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      7. java.lang.Thread.run(Unknown Source)
      7 frames