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 197813 - NullPointerException at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.repeatedFlatSearch
Summary: NullPointerException at org.netbeans.modules.maven.indexer.NexusRepositoryInd...
Status: RESOLVED DUPLICATE of bug 197036
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-16 13:13 UTC by Jaroslav Tulach
Modified: 2011-04-19 21:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176530


Attachments
stacktrace (7.35 KB, text/plain)
2011-04-16 13:13 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2011-04-16 13:13:19 UTC
Build: NetBeans IDE Dev (Build 110314-278564f248ea)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
scotttmelton: Add dependency, typing in org. in the query text box.

Pavel_S: The error occured while adding maven dependencies (already downloaded in local m2 repository).




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.repeatedFlatSearch(NexusRepositoryIndexerImpl.java:456)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$1600(NexusRepositoryIndexerImpl.java:164)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$18.run(NexusRepositoryIndexerImpl.java:1148)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$18.run(NexusRepositoryIndexerImpl.java:1118)
   at org.openide.util.Mutex.writeAccess(Mutex.java:436)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.find(NexusRepositoryIndexerImpl.java:1118)
Comment 1 Jaroslav Tulach 2011-04-16 13:13:24 UTC
Created attachment 107790 [details]
stacktrace
Comment 2 Jesse Glick 2011-04-19 21:22:14 UTC
Not sure what would have caused this, but the simplified loop introduced in 106ac2980f1f should not suffer from the same potential problem.

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