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 252880 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx cannot be cast to org.netbeans.modules.cnd.api.model.CsmFunctionDefinition
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx can...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-08 15:29 UTC by Alexander Simon
Modified: 2015-06-09 02:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217811


Attachments
stacktrace (1.74 KB, text/plain)
2015-06-08 15:29 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-06-08 15:29:56 UTC
Build: Oracle Internal IDE 20150608-4743c59700af
VM: Java HotSpot(TM) 64-Bit Server VM, 24.75-b04, Java(TM) SE Runtime Environment, 1.7.0_75-b13
OS: SunOS

User Comments:
alexvsimon: open emacs.c




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx cannot be cast to org.netbeans.modules.cnd.api.model.CsmFunctionDefinition
   at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.findDefinition(FunctionImpl.java:678)
   at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getDefinition(FunctionImpl.java:488)
   at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getDefinition(FunctionImpl.java:455)
   at org.netbeans.modules.cnd.qnavigator.navigator.CsmFileFilter.isApplicable(CsmFileFilter.java:53)
   at org.netbeans.modules.cnd.qnavigator.navigator.CsmFileModel.buildPreModel(CsmFileModel.java:182)
   at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.update(NavigatorModel.java:175)
Comment 1 Alexander Simon 2015-06-08 15:29:58 UTC
Created attachment 154110 [details]
stacktrace
Comment 2 Alexander Simon 2015-06-08 15:50:16 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/d67e5e08f1b5
Comment 3 Quality Engineering 2015-06-09 02:57:21 UTC
Integrated into 'main-silver', will be available in build *201506090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d67e5e08f1b5
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #252880 ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx cannot be cast to org.netbeans.modules.cnd.api.model.CsmFunctionDefinition