首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >com.intellij.util.io.PersistentEnumeratorBase$CorruptedException::Error:java.lang.RuntimeException

com.intellij.util.io.PersistentEnumeratorBase$CorruptedException::Error:java.lang.RuntimeException
EN

Stack Overflow用户
提问于 2016-09-20 02:08:14
回答 10查看 18.3K关注 0票数 31

下面的问题发生在我的Intellij

代码语言:javascript
运行
复制
Error:Internal error: (com.intellij.util.io.PersistentEnumeratorBase$CorruptedException) PersistentEnumerator storage corrupted C:\Users\Steven\.IntelliJIdea2016.2\system\compile-server\fraudserver_2012620e\out-target\data
com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted C:\Users\Steven\.IntelliJIdea2016.2\system\compile-server\fraudserver_2012620e\out-target\data
    at com.intellij.util.io.PersistentBTreeEnumerator.getNonnegativeValue(PersistentBTreeEnumerator.java:320)
    at com.intellij.util.io.PersistentHashMap$5.onDropFromCache(PersistentHashMap.java:233)
    at com.intellij.util.io.PersistentHashMap$5.onDropFromCache(PersistentHashMap.java:219)
    at com.intellij.util.containers.SLRUMap.clear(SLRUMap.java:153)
    at com.intellij.util.io.PersistentHashMap.doClose(PersistentHashMap.java:650)
    at com.intellij.util.io.PersistentHashMap.close(PersistentHashMap.java:641)
    at org.jetbrains.jps.incremental.storage.AbstractStateStorage.close(AbstractStateStorage.java:60)
    at org.jetbrains.jps.incremental.storage.BuildDataManager.close(BuildDataManager.java:253)
    at org.jetbrains.jps.cmdline.ProjectDescriptor.release(ProjectDescriptor.java:143)
    at org.jetbrains.jps.cmdline.BuildSession.saveData(BuildSession.java:337)
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:298)
    at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:232)
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:44)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Index corrupted
    at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.hashIndex(IntToIntBtree.java:1101)
    at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.search(IntToIntBtree.java:400)
    at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.locate(IntToIntBtree.java:987)
    at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.access$000(IntToIntBtree.java:383)
    at com.intellij.util.io.IntToIntBtree.get(IntToIntBtree.java:181)
    at com.intellij.util.io.PersistentBTreeEnumerator.getNonnegativeValue(PersistentBTreeEnumerator.java:312)
    ... 18 more

提前谢谢。

EN

回答 10

Stack Overflow用户

发布于 2016-09-20 06:07:33

使用File _

票数 21
EN

Stack Overflow用户

发布于 2017-06-19 02:22:52

步骤1 :File>Invalidate缓存/重新启动

步骤2 :Build>Rebuild项目

票数 20
EN

Stack Overflow用户

发布于 2017-10-17 17:04:44

  1. 关闭IntelliJ
  2. 稍等一下
  3. 删除C:\Users\USERNAME\.IntelliJIdea2017.2\system目录
  4. 启动IntelliJ
  5. 重建项目。

来源:https://intellij-support.jetbrains.com/hc/en-us/requests/1110610?page=1

票数 16
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39584672

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档