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 255702 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl cannot be cast to org.netbeans.modules.cnd.modelimpl.content.file.FileComponent
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl cannot...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 17:43 UTC by stiffuser
Modified: 2016-07-08 14:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220359


Attachments
stacktrace (4.68 KB, text/plain)
2015-10-05 17:43 UTC, stiffuser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stiffuser 2015-10-05 17:43:15 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
stiffuser: Code




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl cannot be cast to org.netbeans.modules.cnd.modelimpl.content.file.FileComponent
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getFileComponent(FileContent.java:467)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getFileMacros(FileContent.java:438)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getFileMacros(FileImpl.java:2182)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.findMacroUids(FileImpl.java:1746)
   at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.analyzeFilter(SelectImpl.java:114)
   at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.getMacros(SelectImpl.java:100)
Comment 1 stiffuser 2015-10-05 17:43:18 UTC
Created attachment 156523 [details]
stacktrace
Comment 2 Alexander Simon 2016-07-08 14:40:30 UTC
Only on report for 8.1 beta.