java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hi, today all my reindexing falling in similar error: Task ID: 68 Task Name: Reindex Snapshots Index Stack trace: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:271) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:930) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:870) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:844) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) my Nexus version: 2.2-0.1 How may I resolve this problem ? best regards Mike
    via by Michal Wlodarczyk,
  • Hi, today all my reindexing falling in similar error: Task ID: 68 Task Name: Reindex Snapshots Index Stack trace: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:271) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:930) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:870) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:844) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) my Nexus version: 2.2-0.1 How may I resolve this problem ? best regards Mike
    via by Michal Wlodarczyk,
  • Here is the Error: 2012-10-24 14:36:02 INFO [ool-1-thread-10] - o.s.n.f.DefaultFeed~ - Updating all registered repositories index : Process started on Wed Oct 24 14:36:02 CDT 2012, finished on Wed Oct 24 14:36:02 CDT 2012 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:270) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:801) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:76) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:270) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:801) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:76) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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)
    via by Tony Stonebarger,
    • java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:271) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:930) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:870) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:844) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)
    No Bugmate found.