I'm giving JetBrains IntelliJ IDEA 12.0.4 a spin and have run into an issue when compiling programs. When I run a program I get the following error:
Internal error: (java.io.FileNotFoundException) \domain.local\usersfolders\roberth\.IntelliJIdea12\system\compile-server\hibernate_test_1ad22f80\timestamps\data (The system cannot find the path specified)
java.io.FileNotFoundException: \domain.local\usersfolders\roberth\.IntelliJIdea12\system\compile-server\hibernate_test_1ad22f80\timestamps\data (The system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at com.intellij.util.io.PagedFileStorage.resizeFile(PagedFileStorage.java:324)
at com.intellij.util.io.PagedFileStorage.resize(PagedFileStorage.java:308)
at com.intellij.util.io.ResizeableMappedFile.resize(ResizeableMappedFile.java:72)
at com.intellij.util.io.ResizeableMappedFile.<init>(ResizeableMappedFile.java:46)
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:137)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:133)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:122)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:27)
at org.jetbrains.jps.incremental.storage.TimestampStorage.<init>(TimestampStorage.java:21)
at org.jetbrains.jps.incremental.storage.ProjectTimestamps.<init>(ProjectTimestamps.java:21)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:90)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:181)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:102)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:107)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:26)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
This occurs with both Run
and Debug
. What setting do I need to change to correct the paths used to change them to my local classpaths and directories?
It seems that your user home is located on a network drive, which is unsupported by IntelliJ
In some environments user's home directory is located on the mapped network drive which is unacceptable for IntelliJ IDEA. You'll notice the huge performance degradation. You may also want to move system directory to the faster or larger drive partition.
You should copy IDEA_HOME\bin\idea.properties
to your home directory and adjust the following paths so that they point to local directories instead:
See the above link for further details. If you don't want to lose everything you already configured, just move \domain.local\usersfolders\roberth\.IntelliJIdea12
to a local folder.
i got the below error in windows env:
Error:Internal error: (com.intellij.util.io.PersistentEnumeratorBase$CorruptedException) PersistentEnumerator storage corrupted C:\Users>.IntelliJIdea14\system\compile-server\cmx_cdc441bb\aj\aspect_path.dat
and deleted the .dat file located at the above path and my jetbrain IDE started compiling all the classes and problem got resolved.
I faced a similar issue was not able to reload the compiled classes while debugging a program. Read a few blogs and deleted the compile and compile-server directories under C:/Users/<yourUsername>/.IntelliJIdea<version>/system
and I could continue to use class reloading as usual.
I had the exact same problem. So I edited the IDEA_HOME\bin\idea.properties file and uncommented:
Then I removed the ${user.home}
from the idea.config.path
and idea.system.path
and everything worked fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With