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 242389 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.TypeFunPtrImpl$FunctionPointerImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFunction
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.TypeFunPtrImpl$Fun...
Status: RESOLVED DUPLICATE of bug 240202
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 23:53 UTC by aaron.hebert
Modified: 2014-02-27 09:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207996


Attachments
stacktrace (2.47 KB, text/plain)
2014-02-26 23:53 UTC, aaron.hebert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aaron.hebert 2014-02-26 23:53:40 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
aaron.hebert: opened a source file from the projects window




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.TypeFunPtrImpl$FunctionPointerImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFunction
   at org.netbeans.modules.cnd.completion.csm.CsmStatementResolver.findInner(CsmStatementResolver.java:212)
   at org.netbeans.modules.cnd.completion.csm.CsmStatementResolver.findInnerObject(CsmStatementResolver.java:100)
   at org.netbeans.modules.cnd.completion.csm.CsmStatementResolver.findInner(CsmStatementResolver.java:141)
   at org.netbeans.modules.cnd.completion.csm.CsmStatementResolver.findInnerObject(CsmStatementResolver.java:88)
   at org.netbeans.modules.cnd.completion.csm.CsmOffsetResolver.findObjectWithContext(CsmOffsetResolver.java:177)
   at org.netbeans.modules.cnd.completion.csm.CsmOffsetResolver.findObject(CsmOffsetResolver.java:101)
Comment 1 aaron.hebert 2014-02-26 23:53:41 UTC
Created attachment 145617 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2014-02-27 09:34:49 UTC
thanks for the report. Should be fixed now

*** This bug has been marked as a duplicate of bug 240202 ***