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 258001 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getFileIncludes
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl....
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 257510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-15 21:23 UTC by Exceptions Reporter
Modified: 2016-07-19 13:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222542


Attachments
stacktrace (4.66 KB, text/plain)
2016-02-15 21:23 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-02-15 21:23:06 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: OpenJDK 64-Bit Server VM, 25.72-b15, OpenJDK Runtime Environment, 1.8.0_72-b15
OS: Linux

User Comments:
GUEST: Allowed NetBeans to scan LLVM sourcecode




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getFileIncludes(FileImpl.java:2276)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getIncludes(FileImpl.java:1708)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.fillFileLocalIncludeSymbols(CsmProjectContentResolver.java:1820)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.fillFileLocalIncludeSymbols(CsmProjectContentResolver.java:1823)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.fillFileLocalIncludeSymbols(CsmProjectContentResolver.java:1823)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.fillFileLocalIncludeSymbols(CsmProjectContentResolver.java:1823)
Comment 1 Exceptions Reporter 2016-02-15 21:23:08 UTC
Created attachment 158510 [details]
stacktrace
Comment 2 Alexander Simon 2016-07-11 15:17:52 UTC
It looks as a duplicate bug #212132.
Comment 3 Alexander Simon 2016-07-13 11:19:17 UTC
*** Bug 257510 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2016-07-14 01:51:42 UTC
Integrated into 'main-silver', will be available in build *201607140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/47215e36d125
User: Alexander Simon <alexvsimon@netbeans.org>
Log: work around the bugs #258001 and #258071.
- do not call methods on this in FileImpl constructor