Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CDT An internal error occurred during: "Setting up indexer"

I use Eclipse with CDT to build C++ code. After loading my workspace I get the following message:

An internal error occurred during: "Setting up indexer".

Here is the log:

eclipse.buildId=I20110613-1736
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.core.jobs 4 2 2012-10-30 16:46:09.940
!MESSAGE An internal error occurred during: "Setting up indexer".
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 18
    at org.eclipse.cdt.internal.core.pdom.db.Database.getChunk(Database.java:274)
    at org.eclipse.cdt.internal.core.pdom.db.Database.getRecPtr(Database.java:477)
    at org.eclipse.cdt.internal.core.pdom.dom.PDOMLinkage.getLinkageID(PDOMLinkage.java:119)
    at org.eclipse.cdt.internal.core.pdom.PDOM.readLinkages(PDOM.java:351)
    at org.eclipse.cdt.internal.core.pdom.PDOM.loadDatabase(PDOM.java:334)
    at org.eclipse.cdt.internal.core.pdom.PDOM.<init>(PDOM.java:310)
    at org.eclipse.cdt.internal.core.pdom.WritablePDOM.<init>(WritablePDOM.java:57)
    at org.eclipse.cdt.internal.core.pdom.WritablePDOM.<init>(WritablePDOM.java:52)
    at org.eclipse.cdt.internal.core.pdom.PDOMManager.getOrCreatePDOM(PDOMManager.java:370)
    at org.eclipse.cdt.internal.core.pdom.PDOMManager.createIndexer(PDOMManager.java:554)
    at org.eclipse.cdt.internal.core.pdom.PDOMSetupJob.run(PDOMSetupJob.java:58)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)  

How can I fix/reset this ?

like image 246
Steve Avatar asked Dec 01 '22 22:12

Steve


1 Answers

Deleting the *.pdom files from .metadata/.plugins/org.eclipse.cdt.core/ solved the problem

like image 125
Steve Avatar answered Dec 04 '22 05:12

Steve