2016-09-20 19 views
4

問題下面就我的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 

由於發生了很多提前。

回答

6

使用文件|使緩存無效並重新啓動。

+0

請注意,這也會刪除您的本地歷史記錄,因此如果您想要安全地播放它,請按照下面描述的文件刪除根目錄操作。 –

4

第1步:文件>的Invalidate緩存/重啓

第2步:建立>重建項目

0

刪除的罪魁禍首文件,你的情況 C:\Users\Steven\.IntelliJIdea2016.2\system\compile-server\fraudserver_2012620e\out-target\data ,或它的父目錄, C:\Users\Steven\.IntelliJIdea2016.2\system\compile-server\fraudserver_2012620e\out-target\ ,一切應該再是好的。

不要忘記在刪除之前關閉IJ。