修复错误Error:Internal error: (java.io.IOException) Cannot create empty file: C:\Users\userName\的问题

报错:

Error:Internal error: (java.io.IOException) Cannot create empty file: C:\Users\Ivan Vukicevic\.IdeaIC2019.2\system\compile-server\helloworld_654f6f4d\timestamps\data
java.io.IOException: Cannot create empty file: C:\Users\Ivan Vukicevic\.IdeaIC2019.2\system\compile-server\helloworld_654f6f4d\timestamps\data
    at com.intellij.util.io.PersistentEnumeratorBase.(PersistentEnumeratorBase.java:175)
    at com.intellij.util.io.PersistentBTreeEnumerator.(PersistentBTreeEnumerator.java:73)
    at com.intellij.util.io.PersistentEnumeratorDelegate.(PersistentEnumeratorDelegate.java:47)
    at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:149)
    at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:138)
    at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:129)
    at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:121)
    at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:114)
    at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:124)
    at org.jetbrains.jps.incremental.storage.AbstractStateStorage.(AbstractStateStorage.java:27)
    at org.jetbrains.jps.incremental.storage.TimestampStorage.(TimestampStorage.java:21)
    at org.jetbrains.jps.incremental.storage.ProjectTimestamps.(ProjectTimestamps.java:35)
    at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:111)
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:265)
    at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:121)
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:228)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:835)

Please perform full project rebuild (Build | Rebuild Project)

解决:

控制面板(类别)- 时钟和区域-区域-管理-更改系统区域设置-取消勾选的“Beta版:使用Unicode UTF-8提供全球语言支持”选项

修复错误Error:Internal error: (java.io.IOException) Cannot create empty file: C:\Users\userName\的问题_第1张图片

你可能感兴趣的:(Exception,java,exception)