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.

  • NullPointer Exception when reindexing a Group of repositories. This is the error I have. 2009-06-02 15:21:00 INFO [pool-1-thread-2] - o.s.n.i.IndexerMana~:default - Cascading merge of group indexes for group 'GEDS_RELEASE', where repository 'frontools_releases' is member. 2009-06-02 15:21:01 INFO [pool-1-thread-2] - o.s.n.f.FeedRecorder:default - Reindexing repository group GEDS from path null and below. : Process started on Tue Jun 02 15:20:49 CEST 2009, finished on Tue Jun 02 15:21:01 CEST 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) or 2009-06-02 15:27:24 INFO [ool-1-thread-18] - o.s.n.f.FeedRecorder:default - Reindexing repository group Public Library from path null and below. : Process started on Tue Jun 02 15:23:39 CEST 2009, finished on Tue Jun 02 15:27:24 CEST 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
    via by Alexandre Navarro,
  • NullPointer Exception when reindexing a Group of repositories. This is the error I have. 2009-06-02 15:21:00 INFO [pool-1-thread-2] - o.s.n.i.IndexerMana~:default - Cascading merge of group indexes for group 'GEDS_RELEASE', where repository 'frontools_releases' is member. 2009-06-02 15:21:01 INFO [pool-1-thread-2] - o.s.n.f.FeedRecorder:default - Reindexing repository group GEDS from path null and below. : Process started on Tue Jun 02 15:20:49 CEST 2009, finished on Tue Jun 02 15:21:01 CEST 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) or 2009-06-02 15:27:24 INFO [ool-1-thread-18] - o.s.n.f.FeedRecorder:default - Reindexing repository group Public Library from path null and below. : Process started on Tue Jun 02 15:23:39 CEST 2009, finished on Tue Jun 02 15:27:24 CEST 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
    via by Alexandre Navarro,
  • I enabled remote index download and reindexed: 2008-11-28 23:27:38.041 INFO [pxpool-2-thread-3:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository group with ID=public : Process started on Fri Nov 28 23:27:37 EST 2008, finished on Fri Nov 28 23:27:38 EST 2008 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:643) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:523) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryGroupIndex(DefaultIndexerManager.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:1033) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1395) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) 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(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.updateIndexForRemoteRepository(DefaultIndexerManager.java:643) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:523) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryGroupIndex(DefaultIndexerManager.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:1033) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1395) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) 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(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 Brian Fox,
  • I enabled remote index download and reindexed: 2008-11-28 23:27:38.041 INFO [pxpool-2-thread-3:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository group with ID=public : Process started on Fri Nov 28 23:27:37 EST 2008, finished on Fri Nov 28 23:27:38 EST 2008 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:643) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:523) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryGroupIndex(DefaultIndexerManager.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:1033) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1395) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) 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(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.updateIndexForRemoteRepository(DefaultIndexerManager.java:643) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:523) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryGroupIndex(DefaultIndexerManager.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:1033) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1395) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:43) 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(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 Brian Fox,
  • When running a scheduled task for Reindex all repos, an NPE is logged, and the task appears with a status of BROKEN. From the log: 2008-09-11 16:18:22.454 INFO [btpool0-6:] - org.restlet.Component (8125444): 2008-09-11 16:18:22 127.0.0.1 - 127.0.0.1 8079 GET /nexus/service/local/schedule_run/6/ _dc=1221175102349 200 574 - 94 http://localhost:8079 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 http://localhost:8079/nexus/ 2008-09-11 16:18:25.970 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing all registered repositories : Process started on Thu Sep 11 16:18:22 MST 2008, finished on Thu Sep 11 16:18:25 MST 2008 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:951) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:899) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1294) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:49) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:312) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:951) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:899) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1294) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:49) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:312) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 2008-09-11 16:18:32.938 INFO [btpool0-6:] - org.restlet.Component (8125444): 2008-09-11 16:18:32 127.0.0.1 - 127.0.0.1 8079 GET /nexus/service/local/schedules/ _dc=1221175112885 200 789 - 31 http://localhost:8079 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 http://localhost:8079
    via by Kristine O'Connor,
  • Using the war file for version 1.2, run a reindex on all repos => the task updates to a Broken status. Note that a rebuild attributes task completed without error. From the log files: 2008-11-05 14:58:50.843 DEBUG [http--8080-15:] - org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter: MAPPED 'read' action to permission: nexus:repogroups:read 2008-11-05 14:59:00.093 INFO [pxpool-1-thread-11:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing all registered repositories : Process started on Wed Nov 05 14:59:00 MST 2008, not yet finished. 2008-11-05 14:59:02.593 INFO [pxpool-1-thread-11:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing all registered repositories : Process started on Wed Nov 05 14:59:00 MST 2008, finished on Wed Nov 05 14:59:02 MST 2008 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:981) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:929) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1380) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:981) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:929) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1380) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 2008-11-05 14:59:48.687 DEBUG [http--8080-4:] - org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter: MAPPED 'read' action to permission: nexus:repogroups:read 2008-11-05 14:59:48.703 DEBUG [http--8080-8:] - org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter: MAPPED 'read' action to permission: nexus
    via by Kristine O'Connor,
  • Problem on reindex a repository with schedule task The result of the task is broken. This the log file 2009-04-29 10:48:20 INFO [pool-1-thread-3] - o.s.n.f.FeedRecorder:default - Reindexing repository other_geds_releases from path null and below. : Process started on Wed Apr 29 10:48:20 CEST 2009, finished on Wed Apr 29 10:48:20 CEST 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:467) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:429) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1324) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:467) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:429) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1324) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by Alexandre Navarro,
  • {code} 2008-12-19 17:28:29.365 INFO [pxpool-1-thread-3:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing all registered repositories : Process started on Fri Dec 19 17:27:57 NZDT 2008, finished on Fri Dec 19 17:28:29 NZDT 2008 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:734) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:679) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1390) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51) 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:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:734) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:679) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1390) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51) 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:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {code}
    via by Mark Derricutt,
  • We had a smoothly running 1.1.1 version. We upgraded to 1.3.6 While the repository itself is working fine (we can still access and publish jar files), the search facility doesn't work anymore. I assume this is because the reindexing fails: 2009-07-31 11:05:54 INFO [qtp0-39 ] - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [admin] from address/host [192.168.1.53/192.168.1.53] 2009-07-31 11:06:47 INFO [ool-1-thread-18] - o.s.n.f.FeedRecorder:default - Reindexing repository Releases from path / and below. : Process started on Fri Jul 31 11:06:47 CEST 2009, not yet finished. 2009-07-31 11:06:47 INFO [ool-1-thread-18] - o.s.n.f.FeedRecorder:default - Reindexing repository Releases from path / and below. : Process started on Fri Jul 31 11:06:47 CEST 2009, finished on Fri Jul 31 11:06:47 CEST 2009 with error. Error message is: java.lang.NullPointerException Strack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:478) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:440) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1328) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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) java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:478) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:440) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1328) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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-07-31 11:27:37 ERROR [qtp0-40 ] - o.s.n.r.NexusApplic~ - Unhandled exception or error intercepted java.lang.NullPointerException at org.sonatype.nexus.rest.feeds.AbstractFeedPlexusResource.getFeed(AbstractFeedPlexusResource.java:146) at org.sonatype.nexus.rest.feeds.FeedPlexusResource.getFeed(FeedPlexusResource.java:73) at org.sonatype.nexus.rest.feeds.AbstractFeedPlexusResource.get(AbstractFeedPlexusResource.java:101) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:260) at org.restlet.resource.Resource.getRepresentation(Resource.java:303) at org.restlet.resource.Resource.handleGet(Resource.java:465) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:884) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
    via by Deleted User,
  • Things I tried AFTER I got the following exception (with no improvement) 1. Restart nexus 2. Try repairing indexes one at a time instead of all at once 3. find /nexus/storage -name .index | xargs rm -rf; restart nexus 4. rm -rf /nexus/indexer; restart nexus {code} 2012-10-05 12:12:30 WARN [ool-1-thread-19] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (reindex) failed :: Repairing all registered repositories index (started 2012-10-05T12:12:30+10:00, runtime 0:00:00.004) java.lang.NullPointerException: null at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:881) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:798) ~[na:na] at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:41) ~[na:na] at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:73) ~[na:na] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:158) ~[nexus-app-2.1.2.jar:na] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) [plexus-task-scheduler-1.6.0.jar:na] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_05] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_05] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_05] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_05] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_05] {code}
    via by Ari Maniatis,
    • java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:449) at org.sonatype.nexus.DefaultNexus.reindexRepositoryGroup(DefaultNexus.java:1330) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:36) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
    No Bugmate found.