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 175305 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFriend
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl canno...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: nnnnnk
URL: http://statistics.netbeans.org/except...
Keywords:
: 175297 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-23 15:28 UTC by Vladimir Voskresensky
Modified: 2009-10-29 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 52832


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2009-10-23 15:28:40 UTC
Build: NetBeans IDE Dev (Build 091023)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS, 5.10, x86

User Comments:
imosunov: I edit source C file in C project

vv159170: opened istream header from SunStudio



Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFriend
        at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorChildren.initClassifier(NavigatorChildren.java:106)
        at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorChildren.initCollection(NavigatorChildren.java:80)
        at org.openide.nodes.Children$Array.getCollection(Children.java:763)
        at org.openide.nodes.Children$SortedArray$SAE.nodes(Children.java:1144)
        at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:156)
        at org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:936)
Comment 1 Vladimir Voskresensky 2009-10-23 16:11:22 UTC
*** Issue 175297 has been marked as a duplicate of this issue. ***
Comment 3 Quality Engineering 2009-10-29 12:13:31 UTC
Integrated into 'main-golden', will be available in build *200910290252* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/44b1e595653a
User: Nick N. Krasilnikov <nnnnnk@netbeans.org>
Log: fixed IZ#175305 : ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFriend