错误:java.lang.RuntimeException:com.intellij.util.io.PersistentEnumeratorBase $ CorruptedException: [英] Error:java.lang.RuntimeException: com.intellij.util.io.PersistentEnumeratorBase$CorruptedException:

查看:719
本文介绍了错误:java.lang.RuntimeException:com.intellij.util.io.PersistentEnumeratorBase $ CorruptedException:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下问题发生在我的Intellij上

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

非常感谢.

推荐答案

使用文件|使缓存无效并重新启动.

Use File | Invalidate Caches and restart.

这篇关于错误:java.lang.RuntimeException:com.intellij.util.io.PersistentEnumeratorBase $ CorruptedException:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆