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 270732 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.MacroImpl cannot be cast to org.netbeans.modules.cnd.modelimpl.content.file.FileComponent
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.MacroImpl cannot b...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 20:22 UTC by PolesApart
Modified: 2017-05-25 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229254


Attachments
stacktrace (2.44 KB, text/plain)
2017-05-24 20:22 UTC, PolesApart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PolesApart 2017-05-24 20:22:50 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: OpenJDK 64-Bit Server VM, 25.131-b11, OpenJDK Runtime Environment, 1.8.0_131-8u131-b11-1-b11
OS: Linux

User Comments:
PolesApart: Attempted to report other exception




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.MacroImpl cannot be cast to org.netbeans.modules.cnd.modelimpl.content.file.FileComponent
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getFileComponent(FileContent.java:464)
   at org.netbeans.modules.cnd.modelimpl.content.file.FileContent.getFileIncludes(FileContent.java:440)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getFileIncludes(FileImpl.java:2314)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getIncludes(FileImpl.java:1746)
   at org.netbeans.modules.cnd.completion.cplusplus.hyperlink.CsmIncludeHyperlinkProvider.getFirstBrokenIncludeInsideIncludedFiles(CsmIncludeHyperlinkProvider.java:411)
   at org.netbeans.modules.cnd.completion.cplusplus.hyperlink.CsmIncludeHyperlinkProvider.getFirstBrokenIncludeInsideIncludedFiles(CsmIncludeHyperlinkProvider.java:414)
Comment 1 PolesApart 2017-05-24 20:22:52 UTC
Created attachment 164399 [details]
stacktrace