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 271372 - NullPointerException at org.netbeans.modules.cnd.modelimpl.content.file.FileComponent.<init>
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.content.file.FileC...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-26 13:50 UTC by Exceptions Reporter
Modified: 2017-08-26 16:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 230135


Attachments
stacktrace (1.59 KB, text/plain)
2017-08-26 13:50 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-08-26 13:50:23 UTC
This bug was originally marked as duplicate of bug 258071, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609270201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
GUEST: CMake based project, regular editing




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.content.file.FileComponent.<init>(FileComponent.java:69)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileComponentDeclarations.<init>(FileComponentDeclarations.java:119)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getHardReferenceBasedCopy(FileContent.java:179)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer.getMacroUsages(ClankTokenStreamProducer.java:101)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankFileInfoQuerySupport.getMacroUsages(ClankFileInfoQuerySupport.java:82)
   at org.netbeans.modules.cnd.modelimpl.impl.services.FileInfoQueryImpl.getMacroUsages(FileInfoQueryImpl.java:344)
Comment 1 Exceptions Reporter 2017-08-26 13:50:26 UTC
Created attachment 165013 [details]
stacktrace