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 271821

Summary: NullPointerException at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code CompletionAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230914
Attachments: stacktrace

Description Exceptions Reporter 2017-11-16 14:55:56 UTC
Build: NetBeans IDE 8.2 (Build 201705191307)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.151-b12, Java(TM) SE Runtime Environment, 1.8.0_151-b12
OS: Linux

User Comments:
GUEST: opening a big C++ project using many C++14 features




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType(CsmCompletionQuery.java:1450)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.getObjectType(CsmCompletionQuery.java:1412)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CompletionSupport.extractFunctionType(CompletionSupport.java:1761)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:3182)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveParams(CsmCompletionQuery.java:1819)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1851)
Comment 1 Exceptions Reporter 2017-11-16 14:55:59 UTC
Created attachment 165461 [details]
stacktrace