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.
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)
Created attachment 165013 [details] stacktrace