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 258187 - NullPointerException at org.netbeans.modules.cnd.modelimpl.impl.services.ClassifierResolverImpl.getTypeClassifier
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.impl.services.Clas...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-01 07:26 UTC by mariusz_m
Modified: 2016-04-29 01:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222772


Attachments
stacktrace (3.65 KB, text/plain)
2016-03-01 07:26 UTC, mariusz_m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariusz_m 2016-03-01 07:26:39 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
mariusz_m: NB started, acting very slow, CPU usage 100%




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.impl.services.ClassifierResolverImpl.getTypeClassifier(ClassifierResolverImpl.java:89)
   at org.netbeans.modules.cnd.api.model.services.CsmClassifierResolver$Default.getTypeClassifier(CsmClassifierResolver.java:179)
   at org.netbeans.modules.cnd.api.model.util.CsmBaseUtilities.getClassifier(CsmBaseUtilities.java:524)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CompletionSupport.getCommonType(CompletionSupport.java:601)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2405)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1885)
Comment 1 mariusz_m 2016-03-01 07:26:41 UTC
Created attachment 158681 [details]
stacktrace
Comment 3 Quality Engineering 2016-04-29 01:50:36 UTC
Integrated into 'main-silver', will be available in build *201604290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3e5e5658b747
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #258187 - NullPointerException at org.netbeans.modules.cnd.modelimpl.impl.services.ClassifierResolverImpl.getTypeClassifier