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 189034 - NullPointerException at org.netbeans.modules.cnd.makeproject.MakeProjectFileProviderFactory$FileProviderImpl.computeFiles
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.MakeProjectFileP...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-28 19:25 UTC by tmurison
Modified: 2010-12-13 06:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 171618


Attachments
stacktrace (532 bytes, text/plain)
2010-07-28 19:25 UTC, tmurison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tmurison 2010-07-28 19:25:13 UTC
Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Windows 7

User Comments:
tmurison: Using ALT+SHIFT+O to find a file. As soon as I type a single letter the exception is fired.
I've tried deleting netbeans/var/cache to no effect.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.MakeProjectFileProviderFactory$FileProviderImpl.computeFiles(MakeProjectFileProviderFactory.java:152)
   at org.netbeans.modules.jumpto.file.FileSearchAction$Worker.getFileNames(FileSearchAction.java:484)
   at org.netbeans.modules.jumpto.file.FileSearchAction$Worker.run(FileSearchAction.java:384)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Comment 1 tmurison 2010-07-28 19:25:18 UTC
Created attachment 101070 [details]
stacktrace
Comment 2 Thomas Preisler 2010-09-27 20:27:42 UTC
Thanks for the report. Cannot reproduce in 6.9 or 6.9.1 and since code has been slightly rewritten in 6.9.1, there is a chance it has been fixed. Please try 6.9.1 and reopen if the bug persists. Thanks.
Comment 3 unordained 2010-12-10 15:42:24 UTC
http://statistics.netbeans.org/analytics/exception.do?id=451535

Several newer reports indicate this problem still exists in 6.9.1.
Comment 4 Thomas Preisler 2010-12-11 00:04:39 UTC
reassigning to codemodel for evaluation. Code was recently rewritten so it may be difficult to find the root cause.
Comment 5 Thomas Preisler 2010-12-11 00:07:20 UTC
I should have added that all the reports indicates that the exception is thrown when the user try to navigate to a file using the Go To File... dialog.
Comment 6 Vladimir Voskresensky 2010-12-11 21:05:25 UTC
will have a look
Comment 7 Vladimir Voskresensky 2010-12-11 21:40:00 UTC
http://hg.netbeans.org/cnd-main?cmd=changeset;node=e1d83ffb2bef
I've checked null and added trace to see what is the source root value which doesn't have project
Comment 8 Quality Engineering 2010-12-13 06:15:12 UTC
Integrated into 'main-golden', will be available in build *201012130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e1d83ffb2bef
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #189034 -  NullPointerException at org.netbeans.modules.cnd.makeproject.MakeProjectFileProviderFactory$FileProviderImpl.computeFiles
- recovering for cases of incomplete FileOwnerQuery