Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

The problem below occured on my 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

Thanks a lot in advance.

like image 484
Steven.Ye Avatar asked Sep 20 '16 02:09

Steven.Ye


3 Answers

Use File | Invalidate Caches and restart.

like image 176
yole Avatar answered Nov 18 '22 22:11

yole


step 1 :File>Invalidate Caches/Restart

step 2 :Build>Rebuild Project

like image 42
Xian Sheng.H Avatar answered Nov 18 '22 22:11

Xian Sheng.H


  1. Close IntelliJ
  2. Wait a bit
  3. Delete C:\Users\USERNAME\.IntelliJIdea2017.2\system directory
  4. Start IntelliJ
  5. Rebuild project.

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

like image 16
koppor Avatar answered Nov 18 '22 23:11

koppor