This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225881 - NullPointerException at org.apache.maven.index.context.DefaultIndexingContext.acquireIndexSearcher
Summary: NullPointerException at org.apache.maven.index.context.DefaultIndexingContext...
Status: RESOLVED DUPLICATE of bug 219645
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 10:23 UTC by rjdkolb
Modified: 2013-02-11 09:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197506


Attachments
stacktrace (1.87 KB, text/plain)
2013-02-08 10:23 UTC, rjdkolb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rjdkolb 2013-02-08 10:23:25 UTC
Build: NetBeans IDE 7.3 RC2 (Build 201302050851)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.apache.maven.index.context.DefaultIndexingContext.acquireIndexSearcher(DefaultIndexingContext.java:498)
   at org.apache.maven.index.context.NexusIndexMultiReader.acquire(NexusIndexMultiReader.java:56)
   at org.apache.maven.index.context.NexusIndexMultiSearcher.<init>(NexusIndexMultiSearcher.java:32)
   at org.apache.maven.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:276)
   at org.apache.maven.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:257)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.repeatedPagedSearch(NexusRepositoryIndexerImpl.java:354)
Comment 1 rjdkolb 2013-02-08 10:23:27 UTC
Created attachment 131140 [details]
stacktrace
Comment 2 rjdkolb 2013-02-08 10:25:56 UTC
I got this issue when searching for a dependency via ClassName

I think to reproduce.
1) Create maven project
2) In a class, use a class that is not included in your local maven repo
3) In the editor, click search for dependency
Comment 3 Milos Kleint 2013-02-11 09:02:22 UTC

*** This bug has been marked as a duplicate of bug 219645 ***