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 236644 - ClassCastException: org.netbeans.modules.cnd.qnavigator.navigator.StatementNode cannot be cast to org.netbeans.modules.cnd.qnavigator.navigator.BreadcrumbsElementImpl
Summary: ClassCastException: org.netbeans.modules.cnd.qnavigator.navigator.StatementNo...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 11:34 UTC by Vladimir Voskresensky
Modified: 2013-11-15 16:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204318


Attachments
stacktrace (1.88 KB, text/plain)
2013-10-02 11:34 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2013-10-02 11:34:08 UTC
Build: NetBeans IDE 7.4 (Build 20131002-1083ea2694ae)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: SunOS

User Comments:
vv159170: navigate in file and selected destructor




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.qnavigator.navigator.StatementNode cannot be cast to org.netbeans.modules.cnd.qnavigator.navigator.BreadcrumbsElementImpl
   at org.netbeans.modules.cnd.qnavigator.navigator.BreadCrumbsFactory.createBreadCrumbs(BreadCrumbsFactory.java:94)
   at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.setSelection(NavigatorModel.java:317)
   at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.checkCursor(NavigatorModel.java:300)
   at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.access$400(NavigatorModel.java:91)
   at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel$3.actionPerformed(NavigatorModel.java:148)
   at javax.swing.Timer.fireActionPerformed(Timer.java:312)
Comment 1 Vladimir Voskresensky 2013-10-02 11:34:10 UTC
Created attachment 140720 [details]
stacktrace
Comment 2 Alexander Simon 2013-10-02 13:18:41 UTC
fixed, change set:
accf9d88415b
Comment 3 Quality Engineering 2013-10-08 02:33:50 UTC
Integrated into 'main-silver', will be available in build *201310080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/38b5895da9c5
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #236644 ClassCastException: org.netbeans.modules.cnd.qnavigator.navigator.StatementNode cannot be cast to org.netbeans.modules.cnd.qnavigator.navigator.BreadcrumbsElementImpl
(transplanted from accf9d88415be880eb4b516193ac37e064bd2157)
Comment 4 Alexander Pepin 2013-11-15 16:03:59 UTC
Verified in build 201311142201.