Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Indexer in CDT 4.

Hi,

I am one of the developer whos is working in HP C/C++ Remote Developer Plugin(RDP). Currently RDP is available for eclipse 3.2 and CDT 3.0. Now we are working on integrating CDT 4.0.2 with RDP for eclipse 3.3.2.

After integrating, while creating new project, we are getting following error while creating indexer if we use CCorePlugin.getDefault(  ).createCDTProject(...) and if we use CCorePlugin.getDefault(  ).createCProject(...) then we are not getting indexer issue(Indexer is not at all starting) but we are getting "project does not contain correct configuration" error while make.

Please someone help me.

-------------------------------
java.lang.ClassCastException: org.eclipse.cdt.internal.core.pdom.PDOMProxy
cannot be cast to org.eclipse.cdt.internal.core.index.IWritableIndexFragment
        at
org.eclipse.cdt.internal.core.index.IndexFactory.getWritableIndex(IndexFactory.java:103)
        at
org.eclipse.cdt.internal.core.pdom.PDOMManager.getWritableIndex(PDOMManager.java:1065)
        at
org.eclipse.cdt.internal.core.pdom.indexer.fast.PDOMFastIndexerTask.setupIndexAndReaderFactory(PDOMFastIndexerTask.java:118)
        at
org.eclipse.cdt.internal.core.pdom.indexer.fast.PDOMFastIndexerTask.run(PDOMFastIndexerTask.java:82)
        at
org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:75)
        at
org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:90)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Regards,
Santosh

Back to the top