我使用带有 CDT 的 Eclipse 来构建 C++ 代码。加载我的工作区后,我收到以下消息:
An internal error occurred during: "Setting up indexer".
这是日志:
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)
我该如何修复/重置这个?