Error during build in Intellij 13

Hello,

When I try to build and compile some Java project, I'm finding this error that doesnt complete teh build:

Internal error: (java.io.EOFException) null
java.io.EOFException
 at java.io.DataInputStream.readFully(DataInputStream.java:197)
 at com.intellij.util.io.IOUtil.readUTFFast(IOUtil.java:131)
 at org.jetbrains.jps.incremental.storage.OneToManyPathsMapping$PathCollectionExternalizer.read(OneToManyPathsMapping.java:96)
 at org.jetbrains.jps.incremental.storage.OneToManyPathsMapping$PathCollectionExternalizer.read(OneToManyPathsMapping.java:84)
 at com.intellij.util.io.PersistentHashMap.doGet(PersistentHashMap.java:427)
 at com.intellij.util.io.PersistentHashMap.get(PersistentHashMap.java:398)
 at org.jetbrains.jps.incremental.storage.AbstractStateStorage.getState(AbstractStateStorage.java:118)
 at org.jetbrains.jps.incremental.storage.OneToManyPathsMapping.getState(OneToManyPathsMapping.java:61)
 at org.jetbrains.jps.incremental.storage.SourceToOutputMappingImpl.getOutputs(SourceToOutputMappingImpl.java:72)
 at org.jetbrains.jps.incremental.IncProjectBuilder.clearOutputFiles(IncProjectBuilder.java:443)
 at org.jetbrains.jps.incremental.IncProjectBuilder.clearOutputs(IncProjectBuilder.java:553)
 at org.jetbrains.jps.incremental.IncProjectBuilder.cleanOutputRoots(IncProjectBuilder.java:410)
 at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:336)
 at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:184)
 at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:129)
 at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:224)
 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$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:724)



Did anyone know how to solve it?

I already tried to clean the caches, unsucessful
1 comment
Comment actions Permalink

Hi Bryan,
There was a glitch in the code handling storage data format changes.
To solve the problem you should exit IDEA and delete the directory

<IDEA-home>/system/compile-server

In the newer builds this has been already fixed, so that build caches will be cleaned and updated automatically.

0

Please sign in to leave a comment.