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 249367 - ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.FileComponentIncludes cannot be cast to org.netbeans.modules.cnd.api.model.CsmUsingDeclaration
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.FileCompo...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-15 17:47 UTC by Exceptions Reporter
Modified: 2016-10-31 10:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214190


Attachments
stacktrace (1.90 KB, text/plain)
2014-12-15 17:47 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-12-15 17:47:10 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19
OS: Linux

User Comments:
GUEST: Opening a project as the UI starts.




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.FileComponentIncludes cannot be cast to org.netbeans.modules.cnd.api.model.CsmUsingDeclaration
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.FileMapsCollector.gatherMaps(FileMapsCollector.java:441)
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.FileMapsCollector.gatherMaps(FileMapsCollector.java:373)
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.FileMapsCollector.initMapsFromCurrentFileOnly(FileMapsCollector.java:238)
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.Resolver3.findClassifierUsedInFile(Resolver3.java:197)
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.Resolver3.findClassifier(Resolver3.java:169)
   at org.netbeans.modules.cnd.modelimpl.csm.resolver.Resolver3.resolveSimpleName(Resolver3.java:648)
Comment 1 Exceptions Reporter 2014-12-15 17:47:12 UTC
Created attachment 151118 [details]
stacktrace