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 267255 - ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.ReferencesIndex cannot be cast to org.netbeans.modules.cnd.api.model.CsmDeclaration
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.Reference...
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 16:22 UTC by Exceptions Reporter
Modified: 2016-08-15 08:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225375


Attachments
stacktrace (3.26 KB, text/plain)
2016-07-22 16:22 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-07-22 16:22:22 UTC
This bug was originally marked as duplicate of bug 242871, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: Waiting for autocompletion...




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.content.file.ReferencesIndex cannot be cast to org.netbeans.modules.cnd.api.model.CsmDeclaration
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.filterDeclarations(CsmProjectContentResolver.java:1521)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceMembers(CsmProjectContentResolver.java:1454)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceMembers(CsmProjectContentResolver.java:1432)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceMembers(CsmProjectContentResolver.java:1427)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceClassesEnums(CsmProjectContentResolver.java:988)
   at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver$3.getResults(CsmProjectContentResolver.java:418)
Comment 1 Exceptions Reporter 2016-07-22 16:22:24 UTC
Created attachment 161385 [details]
stacktrace
Comment 2 Alexander Simon 2016-08-15 08:24:17 UTC
Some Netbeans modules are not updated.
As result Netbeans has wrong installation.
Try to reinstall Netbeans.