Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346349 - CCE from standalone indexer
Summary: CCE from standalone indexer
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 7.0.2   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Mike Kucera CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 17:47 EDT by Mike Kucera CLA
Modified: 2011-08-05 15:23 EDT (History)
3 users (show)

See Also:


Attachments
Patch for CDT 7 (2.16 KB, text/plain)
2011-06-06 13:21 EDT, Mike Kucera CLA
no flags Details
Patch for CDT head (2.11 KB, text/plain)
2011-06-06 13:21 EDT, Mike Kucera CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kucera CLA 2011-05-18 17:47:39 EDT
Seeing this in the console on the server side.

Exception in thread "Remote Indexer" java.lang.ClassCastException: org.eclipse.core.runtime.Path incompatible with java.lang.String
at org.eclipse.cdt.internal.core.indexer.StandaloneIndexerInputAdapter.isSourceUnit(StandaloneIndexerInputAdapter.java:56)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.findContext(AbstractIndexerTask.java:704)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseLinkage(AbstractIndexerTask.java:658)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.runTask(AbstractIndexerTask.java:344)
at org.eclipse.cdt.internal.core.indexer.StandaloneIndexerTask.run(StandaloneIndexerTask.java:131)
at org.eclipse.cdt.internal.core.indexer.StandaloneIndexer.handleDelta(StandaloneIndexer.java:432)
at org.eclipse.ptp.internal.rdt.core.miners.IndexerThread$2.runIndexer(IndexerThread.java:56)
at org.eclipse.ptp.internal.rdt.core.miners.IndexerThread.run(IndexerThread.java:71)
Comment 1 Mike Kucera CLA 2011-06-06 13:21:06 EDT
Created attachment 197424 [details]
Patch for CDT 7
Comment 2 Mike Kucera CLA 2011-06-06 13:21:21 EDT
Created attachment 197425 [details]
Patch for CDT head
Comment 3 Mike Kucera CLA 2011-06-06 13:24:54 EDT
Fixed
Comment 4 Vivian Kong CLA 2011-06-06 13:27:54 EDT
Moving to CDT
Comment 6 CDT Genie CLA 2011-06-09 15:23:15 EDT
*** cdt cvs genie on behalf of mkucera ***
Bug 346349 - CCE from standalone indexer

[*] StandaloneIndexerInputAdapter.java 1.12.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/indexer/StandaloneIndexerInputAdapter.java?root=Tools_Project&r1=1.12.2.1&r2=1.12.2.2
Comment 7 CDT Genie CLA 2011-08-05 15:23:10 EDT
*** cdt git genie on behalf of Vivian Kong ***

    bug 346349 - update copyright

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b86851f7e5828dd41c0c52178667e5104350c0c5