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 issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Linux User Comments: GUEST: Editing C++ source code. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.Instantiation.getKind(Instantiation.java:357) at org.netbeans.modules.cnd.api.model.util.CsmKindUtilities.isVariable(CsmKindUtilities.java:539) at org.netbeans.modules.cnd.api.model.util.CsmKindUtilities.isField(CsmKindUtilities.java:620) at org.netbeans.modules.cnd.highlight.semantic.SemanticEntitiesProvider$FastFieldCodeProvider.getBlocks(SemanticEntitiesProvider.java:143) at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.updateImpl(SemanticHighlighter.java:204) at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.access$500(SemanticHighlighter.java:90)
Created attachment 149200 [details] stacktrace
Created attachment 150479 [details] stacktrace editing.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=211794
5 duplicates => P2
The only reason of the bug is because declaration cannot be restored after reading instantiation from repository: see constructor Instantiation(RepositoryDataInput input) in Instantiation.java.
Created attachment 158600 [details] stacktrace I had JConvert and LLVM project opened, I closed LLVM The situation was a little bit weird for the following reason: - LLVM is a link - during previous IDE run LLVM pointed to LLVM38 - I closed IDE, removed the link and then re-linked it to LLVM36 - then I restarted IDE and closed the LLVM project
Created attachment 161651 [details] stacktrace editing C++ template code