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 243567

Summary: NullPointerException at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp
Product: cnd Reporter: petrk
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208928
Attachments: stacktrace

Description petrk 2014-04-04 14:01:42 UTC
Build: NetBeans IDE Dev (Build 20140312-845024ec5fd4)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
petrk: Deleted a lot of code of preprocessed boost regex.hpp




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1685)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResolvedContext(CsmCompletionQuery.java:804)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.performQueryTask(CsmCompletionQuery.java:380)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.queryType(CsmCompletionQuery.java:314)
   at org.netbeans.modules.cnd.completion.cplusplus.CsmEntityResolverImpl.resolveType(CsmEntityResolverImpl.java:71)
   at org.netbeans.modules.cnd.api.model.services.CsmEntityResolver$Default.resolveType(CsmEntityResolver.java:288)
Comment 1 petrk 2014-04-04 14:01:44 UTC
Created attachment 146555 [details]
stacktrace
Comment 2 Alexander Simon 2014-04-07 12:26:21 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/25d1091659f6
Comment 3 Quality Engineering 2014-04-08 06:09:24 UTC
Integrated into 'main-silver', will be available in build *201404080419* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/25d1091659f6
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #243567 NullPointerException at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp
Comment 4 Quality Engineering 2014-04-24 02:04:23 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/1d068a9e7815
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #243567 NullPointerException at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp
(transplanted from 25d1091659f63778a5a5509c03161e8ab95a5752)