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 251604 - NullPointerException at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getFileLocalIncludeNamespaceMembers
Summary: NullPointerException at org.netbeans.modules.cnd.completion.csm.CsmProjectCon...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-02 21:25 UTC by gbullock
Modified: 2015-09-26 12:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216537


Attachments
stacktrace (3.41 KB, text/plain)
2015-04-02 21:25 UTC, gbullock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gbullock 2015-04-02 21:25:34 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
gbullock: Sorry, I didn't see this error notification until well after it occurred, so I can't tell you exactly what I was doing.  I had a CMakeLists.txt file open in the editor, and possibly also a Fortran source file (*.f90).  For the most part, I was just right-clicking on things -- tabs for TopComponents or text within the editor -- to explore what options are available.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getFileLocalIncludeNamespaceMembers(CsmProjectContentResolver.java:776)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.fillFileLocalIncludeNamespaceFunctions(CsmProjectContentResolver.java:760)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getFileLocalFunctions(CsmProjectContentResolver.java:482)
   at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.getFileLocalFunctions(CompletionResolverImpl.java:1098)
   at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.resolveContext(CompletionResolverImpl.java:573)
   at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.resolveContext(CompletionResolverImpl.java:282)
Comment 1 gbullock 2015-04-02 21:25:35 UTC
Created attachment 153008 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-09-25 20:17:04 UTC
http://hg.netbeans.org/cnd-main/rev/d6ab7c0b0d3f
Comment 3 Quality Engineering 2015-09-26 12:59:19 UTC
Integrated into 'main-silver', will be available in build *201509261150* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d6ab7c0b0d3f
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #251604 - NullPointerException at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getFileLocalIncludeNamespaceMembers