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 249996 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl._getClassifier
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl._getC...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
: 243119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-24 08:01 UTC by Exceptions Reporter
Modified: 2015-09-25 17:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214971


Attachments
stacktrace (2.68 KB, text/plain)
2015-01-24 08:01 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-01-24 08:01:08 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_71-mockbuild_2014_12_18_14_23-b00
OS: Linux

User Comments:
GUEST: running a programm with valgrin and inspecting the error related classes within netbeans




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl._getClassifier(TypeImpl.java:1007)
   at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.isBuiltInBased(TypeImpl.java:1057)
   at org.netbeans.modules.cnd.modelimpl.csm.TemplateParameterTypeImpl.isBuiltInBased(TemplateParameterTypeImpl.java:152)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmResultItem.getTypeColor(CsmResultItem.java:149)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmResultItem$MethodResultItem.<init>(CsmResultItem.java:898)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmResultItem$GlobalFunctionResultItem.<init>(CsmResultItem.java:825)
Comment 1 Exceptions Reporter 2015-01-24 08:01:10 UTC
Created attachment 151666 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-09-23 22:17:20 UTC
*** Bug 243119 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Kvashin 2015-09-23 22:18:38 UTC
Together with issue 243119 it has 3 dups... should it be upgraded?
Comment 4 Vladimir Kvashin 2015-09-25 11:56:58 UTC
The root cause is: OffsetableBase.getContainingFile() returns null.
Reports are for 8.0, 8.0.1, 8.0.2 (8.0.2 is built on 2014/11/18).
So this is probably fixed by late Dec 2014 repository fixes.