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 269838 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.MacroImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFile
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: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-15 18:57 UTC by Exceptions Reporter
Modified: 2017-05-25 11:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228063


Attachments
stacktrace (680 bytes, text/plain)
2017-02-15 18:57 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-02-15 18:57:40 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
GUEST: Was prompted to download an update for Java
Clicked 'Next'
Revieved Error




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.MacroImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFile
   at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoFile(UIDCsmConverter.java:87)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FakeRegistrationWorker$FixRegistrationRunnable.run(FakeRegistrationWorker.java:136)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Exceptions Reporter 2017-02-15 18:57:43 UTC
Created attachment 163642 [details]
stacktrace