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 243468 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.DestructorDefinitionImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmMethod
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.DestructorDefiniti...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-02 07:10 UTC by Exceptions Reporter
Modified: 2014-04-22 16:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208855


Attachments
stacktrace (1.82 KB, text/plain)
2014-04-02 07:10 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-04-02 07:10:25 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201404010001)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_51-b31
OS: Linux

User Comments:
GUEST: Wasn't doing anything abnormal, just writing code.




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.DestructorDefinitionImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmMethod
   at org.netbeans.modules.cnd.navigation.overrides.BaseAnnotation.<init>(BaseAnnotation.java:176)
   at org.netbeans.modules.cnd.navigation.overrides.OverrideAnnotation.<init>(OverrideAnnotation.java:63)
   at org.netbeans.modules.cnd.navigation.overrides.ComputeAnnotations.computeAnnotation(ComputeAnnotations.java:157)
   at org.netbeans.modules.cnd.navigation.overrides.ComputeAnnotations.computeAnnotations(ComputeAnnotations.java:108)
   at org.netbeans.modules.cnd.navigation.overrides.ComputeAnnotations.computeAnnotations(ComputeAnnotations.java:95)
   at org.netbeans.modules.cnd.navigation.overrides.OverrideTaskFactory$RunnerImpl.addAnnotations(OverrideTaskFactory.java:189)
Comment 1 Exceptions Reporter 2014-04-02 07:10:26 UTC
Created attachment 146488 [details]
stacktrace
Comment 2 Alexander Simon 2014-04-02 07:13:07 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/53c625f03a32