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 251937 - ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.FileComponentDeclarations cannot be cast to org.netbeans.modules.cnd.api.model.CsmDeclaration
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.FileCompo...
Status: RESOLVED WORKSFORME
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: 2015-04-19 17:38 UTC by Exceptions Reporter
Modified: 2015-09-25 20:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216817


Attachments
stacktrace (3.87 KB, text/plain)
2015-04-19 17:38 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-19 17:38:06 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201408251540)
VM: OpenJDK 64-Bit Server VM, 24.55-b03, OpenJDK Runtime Environment, 1.7.0_55-b14
OS: Linux

User Comments:
GUEST: 1




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.FileComponentDeclarations cannot be cast to org.netbeans.modules.cnd.api.model.CsmDeclaration
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.filterDeclarations(CsmProjectContentResolver.java:1500)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceMembers(CsmProjectContentResolver.java:1445)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceEnumerators(CsmProjectContentResolver.java:1005)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver$4.getResults(CsmProjectContentResolver.java:410)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getLibElements(CsmProjectContentResolver.java:347)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getLibEnumerators(CsmProjectContentResolver.java:325)
Comment 1 Exceptions Reporter 2015-04-19 17:38:08 UTC
Created attachment 153269 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-09-25 20:46:24 UTC
This is definitely a repository problem - IDE logs shows other error messages concerning repository. Should be fixed by numerous late Dec 2014 fixes.