Error caused by permissions ?

Hi,
        1. Started IDEA using sudo ./idea
        2. Started  by clicking on the menu.

Could there be a permission issue  here ? There was a popup showing some permission problem. I turned on full rights for all uses after this and then I saw this error.


Thanks,
Mohan

Internal error: (com.intellij.util.io.PersistentEnumeratorBase$CorruptedException) PersistentEnumerator storage corrupted /Users/radhakrishnan/Library/Caches/IdeaIC13/compile-server/reactiveserviceability_ecdc36f7/timestamps/data
com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /Users/radhakrishnan/Library/Caches/IdeaIC13/compile-server/reactiveserviceability_ecdc36f7/timestamps/data
 at com.intellij.util.io.PersistentEnumeratorBase.<init>(PersistentEnumeratorBase.java:221)
 at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:76)
 at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:38)
 at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:31)
 at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:110)
 at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:106)
 at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:137)
 at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:42)
 at org.jetbrains.jps.incremental.storage.TimestampStorage.<init>(TimestampStorage.java:36)
 at org.jetbrains.jps.incremental.storage.ProjectTimestamps.<init>(ProjectTimestamps.java:36)
 at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:101)
 at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:198)
 at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)
 at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)
 at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)

1 comment

Hi Mohan,

This must be caused by storage corruption or/and data storage format change. The problem is that this situation is not handled "cleanly" as it should by automatic project rebuild.
We've done necessary corrections, thanks.
Meanwhile you can explicitly invoke "rebuild project" one time, so that compiler caches are re-created in the new format.

0

Please sign in to leave a comment.