gpt4 book ai didi

c++ - CDT : "Setting up indexer" 期间发生内部错误

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:00:48 25 4
gpt4 key购买 nike

我将 Eclipse 与 CDT 结合使用来构建 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)

如何修复/重置此问题?

最佳答案

从 .metadata/.plugins/org.eclipse.cdt.core/中删除 *.pdom 文件解决了问题

关于c++ - CDT : "Setting up indexer" 期间发生内部错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13142983/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com