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 244407 - ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFile
Summary: ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl cannot...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-09 15:58 UTC by ocarivenc
Modified: 2016-10-31 10:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209635


Attachments
stacktrace (531 bytes, text/plain)
2014-05-09 15:58 UTC, ocarivenc
Details
stacktrace (529 bytes, text/plain)
2015-09-05 05:21 UTC, allinesantos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ocarivenc 2014-05-09 15:58:04 UTC
Build: MPLAB X IDE v2.10
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl cannot be cast to org.netbeans.modules.cnd.api.model.CsmFile
   at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoFile(UIDCsmConverter.java:82)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FakeRegistrationWorker$FixRegistrationRunnable.run(FakeRegistrationWorker.java:120)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Comment 1 ocarivenc 2014-05-09 15:58:05 UTC
Created attachment 147209 [details]
stacktrace
Comment 2 allinesantos 2015-09-05 05:21:40 UTC
Created attachment 155917 [details]
stacktrace

O meu programa estava executando sem nenhum problema, mas existe uma classe chamada GeraArquivosClasse que l? um arquivo e o subdivide, por?m esse arquivo ? muito grande. E numa dessas subdivis?es, no final, ele come?ou a dar esse erro. N?o estou sabendo solucionar.
Comment 3 Vladimir Kvashin 2015-09-23 20:36:30 UTC
5 duplicate reports => P2