大約一個星期後,我開始在OS X 10.10上使用Intelij Idea 14社區版,沒有任何重大問題,今天早上我收到這個錯誤,當我嘗試編譯或運行我的最後一個java項目:無法在intelij上編譯java項目Idea 14 CE
Error:java: Internal error: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:295) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:282) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType.(TypeRepr.java:190) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:302) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:282) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType.(TypeRepr.java:190) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:302) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:282) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType.(TypeRepr.java:190) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:302) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:282) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType.(TypeRepr.java:190) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:302) at org.jetbrains.jps.builders.java.dependencyView.TypeRepr$1.read(TypeRepr.java:282) at org.jetbrains.jps.builders.java.dependencyView.ClassRepr.(ClassRepr.java:257) at org.jetbrains.jps.builders.java.dependencyView.ClassRepr$2.read(ClassRepr.java:389) at org.jetbrains.jps.builders.java.dependencyView.ClassRepr$2.read(ClassRepr.java:381) at org.jetbrains.jps.builders.java.dependencyView.ObjectObjectPersistentMultiMaplet$CollectionDataExternalizer.read(ObjectObjectPersistentMultiMaplet.java:259) at org.jetbrains.jps.builders.java.dependencyView.ObjectObjectPersistentMultiMaplet$CollectionDataExternalizer.read(ObjectObjectPersistentMultiMaplet.java:237) at com.intellij.util.io.PersistentHashMap.doGet(PersistentHashMap.java:518) at com.intellij.util.io.PersistentHashMap.get(PersistentHashMap.java:451) at org.jetbrains.jps.builders.java.dependencyView.ObjectObjectPersistentMultiMaplet$1.createValue(ObjectObjectPersistentMultiMaplet.java:53) at org.jetbrains.jps.builders.java.dependencyView.ObjectObjectPersistentMultiMaplet$1.createValue(ObjectObjectPersistentMultiMaplet.java:48) at com.intellij.util.containers.SLRUCache.get(SLRUCache.java:46) at org.jetbrains.jps.builders.java.dependencyView.ObjectObjectPersistentMultiMaplet.get(ObjectObjectPersistentMultiMaplet.java:76) at org.jetbrains.jps.builders.java.dependencyView.Mappings$Differential.differentiate(Mappings.java:1985) at org.jetbrains.jps.builders.java.dependencyView.Mappings.differentiateOnIncrementalMake(Mappings.java:2038) at org.jetbrains.jps.builders.java.JavaBuilderUtil.updateMappings(JavaBuilderUtil.java:99) at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:326) at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:204) at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:176) at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1140) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:826) at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:894) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:789) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:612) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:352) at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:191) at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:131) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:229) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:158) at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41) 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)
謝謝。
謝謝你的回答,但它沒有解決問題,我仍然有同樣的錯誤。 – Yorlink 2014-11-22 17:52:41
刪除.idea文件夾並創建新項目後,它工作正常,謝謝! – Yorlink 2014-11-22 18:22:51
我有同樣的問題,試過所有的建議,仍然不工作=/ – Bubuntux 2014-12-23 16:44:23