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 240534 - ClassCastException: org.netbeans.modules.cnd.model.tasks.CndParserResult cannot be cast to org.netbeans.modules.cnd.refactoring.hints.CndParserResult
Summary: ClassCastException: org.netbeans.modules.cnd.model.tasks.CndParserResult cann...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 10:28 UTC by cybersoft
Modified: 2014-01-16 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206609


Attachments
stacktrace (751 bytes, text/plain)
2014-01-16 10:28 UTC, cybersoft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cybersoft 2014-01-16 10:28:02 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1175-on-20140111)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
cybersoft: activated c/c+ and opened c/c++ project




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.model.tasks.CndParserResult cannot be cast to org.netbeans.modules.cnd.refactoring.hints.CndParserResult
   at org.netbeans.modules.cnd.refactoring.hints.LineFactoryTask.run(LineFactoryTask.java:105)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:568)
   at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:744)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 cybersoft 2014-01-16 10:28:03 UTC
Created attachment 144022 [details]
stacktrace
Comment 2 cybersoft 2014-01-16 12:49:13 UTC
Hmm, when I activated c/c++, update bacem available. First update fails with message that some files not found, second update was ok. And this exception no longer occurs.