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 262184

Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.getDeclarations
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224171
Attachments: stacktrace

Description Exceptions Reporter 2016-05-23 12:58:00 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
GUEST: suddenly happened




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.getDeclarations(SelectImpl.java:237)
   at org.netbeans.modules.cnd.api.model.services.CsmSelect$Default.getDeclarations(CsmSelect.java:399)
   at org.netbeans.modules.cnd.api.model.services.CsmSelect.getDeclarations(CsmSelect.java:107)
   at org.netbeans.modules.cnd.completion.csm.CsmDeclarationResolver.findInnerFileObject(CsmDeclarationResolver.java:151)
   at org.netbeans.modules.cnd.completion.templates.CppCodeTemplateProcessor$1.run(CppCodeTemplateProcessor.java:146)
   at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:169)
Comment 1 Exceptions Reporter 2016-05-23 12:58:02 UTC
Created attachment 159836 [details]
stacktrace
Comment 2 Alexander Simon 2016-05-23 13:20:30 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/3b786fd106ea