大多数简单应用程序上的IntelliJ错误

时间:2019-01-21 03:56:24

标签: java intellij-idea

我是第一次下载IntelliJ,而我只是想做一个简单的“ Hello World”测试,以便让我对程序更加满意。但是无论我尝试做什么,每次构建时都会不断出现此错误。我在网上看过,找不到任何遇到相同问题的人。这是错误

Error:Internal error: (java.io.IOException) Cannot create empty file: 

C:\Users\brent\.IdeaIC2018.3\system\compile-server\test_88992a4c\timestamps\data
java.io.IOException: Cannot create empty file: C:\Users\brent\.IdeaIC2018.3\system\compile-server\test_88992a4c\timestamps\data
    at com.intellij.util.io.PersistentEnumeratorBase.<init>(PersistentEnumeratorBase.java:175)
    at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:87)
    at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:47)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:168)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:157)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:148)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:140)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:133)
    at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:124)
    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:35)
    at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:110)
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:279)
    at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:135)
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:229)
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    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:834)

Please perform full project rebuild (Build | Rebuild Project)

我不知道如何解决这个问题。我是否没有正确安装IDE?我已尝试按照建议进行完整的项目重建,但继续收到此错误。

日志的最后时间戳记

    19-01-21 15:07:51,066 [  91274]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: All illegal access operations will be denied in a future release 
2019-01-21 15:07:52,938 [  93146]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 
2019-01-21 15:08:32,284 [ 132492]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 
2019-01-21 15:09:04,221 [ 164429]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS) 
2019-01-21 15:09:04,221 [ 164429]   INFO - j.compiler.server.BuildManager - Using preloaded build process to compile C:\Users\brent\OneDrive\Documents\RS\Arkitoi\Arkitori Source\Arkitori Source 
2019-01-21 15:09:04,490 [ 164698]   INFO - ij.compiler.impl.CompileDriver - java.io.IOException: Cannot create empty file: C:\Users\brent\.IdeaIC2018.3\system\compile-server\arkitori_source_3dbf5cab\timestamps\data
    at com.intellij.util.io.PersistentEnumeratorBase.<init>(PersistentEnumeratorBase.java:175)
    at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:87)
    at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:47)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:168)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:157)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:148)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:140)
    at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:133)
    at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:124)
    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:35)
    at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:110)
    at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:279)
    at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:135)
    at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:229)
    at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    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:834)

2019-01-21 15:09:04,559 [ 164767]   INFO - lij.compiler.impl.CompilerUtil -     COMPILATION FINISHED (BUILD PROCESS); Errors: 1; warnings: 0 took 338 ms: 0 min 0sec 
2019-01-21 15:09:04,575 [ 164783]   INFO - s.CompilerReferenceServiceBase - backward reference index reader doesn't exist 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: Failed to configure logging: 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: java.io.FileNotFoundException: C:\Users\brent\.IdeaIC2018.3\system\log\build-log\build-log.properties (The system cannot find the path specified) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/java.io.FileOutputStream.open0(Native Method) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at org.jetbrains.jps.cmdline.LogSetup.ensureLogConfigExists(LogSetup.java:68) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at org.jetbrains.jps.cmdline.LogSetup.initLoggers(LogSetup.java:47) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at org.jetbrains.jps.cmdline.BuildMain.<clinit>(BuildMain.java:60) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at java.base/java.lang.reflect.Method.invoke(Method.java:566) 
2019-01-21 15:09:04,822 [ 165030]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: at org.jetbrains.jps.cmdline.Launcher.main(Launcher.java:58) 
2019-01-21 15:09:04,875 [ 165083]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2018.3.3/lib/jps-launcher.jar;C:/Program Files (x86)/Java/jdk-11/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2018.3.3/lib/optimizedFileManager.jar 
2019-01-21 15:09:04,875 [ 165083]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: log4j:WARN No appenders could be found for logger (#org.jetbrains.jps.cmdline.BuildMain). 
2019-01-21 15:09:04,875 [ 165083]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: log4j:WARN Please initialize the log4j system properly. 
2019-01-21 15:09:04,875 [ 165083]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 
2019-01-21 15:09:04,922 [ 165130]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
2019-01-21 15:09:04,922 [ 165130]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 
2019-01-21 15:09:04,922 [ 165130]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 
2019-01-21 15:09:05,855 [ 166063]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: An illegal reflective access operation has occurred 
2019-01-21 15:09:05,855 [ 166063]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%20Community%20Edition%202018.3.3/lib/protobuf-java-3.4.0.jar) to field java.nio.Buffer.address 
2019-01-21 15:09:05,855 [ 166063]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil 
2019-01-21 15:09:05,855 [ 166063]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 
2019-01-21 15:09:05,855 [ 166063]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: All illegal access operations will be denied in a future release 
2019-01-21 15:09:07,269 [ 167477]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 

0 个答案:

没有答案