-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.8.8
-
None
-
Windows 10
64 bit Oracle Java
Minecraft Server
-
Unconfirmed
Error in logging when shutting down server:
C:\temp\minecraft>java -d64 -Xms2048M -Xmx2G -jar minecraft_server.1.8.8.jar nogui
[16:49:33] [Server thread/INFO]: Starting minecraft server version 1.8.8
[16:49:33] [Server thread/INFO]: Loading properties
[16:49:33] [Server thread/INFO]: Default game type: CREATIVE
[16:49:33] [Server thread/INFO]: Generating keypair
[16:49:33] [Server thread/INFO]: Starting Minecraft server on *:25565
[16:49:33] [Server thread/INFO]: Using default channel type
[16:49:33] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[16:49:33] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[16:49:33] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[16:49:33] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[16:49:33] [Server thread/INFO]: Preparing level "world"
[16:49:33] [Server thread/INFO]: Preparing start region for level 0
[16:49:34] [Server thread/INFO]: Done (0,753s)! For help, type "help" or "?"
stop
[16:49:44] [Server thread/INFO]: Stopping the server
[16:49:44] [Server thread/INFO]: Stopping server
[16:49:44] [Server thread/INFO]: Saving players
[16:49:44] [Server thread/INFO]: Saving worlds
[16:49:44] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
[16:49:44] [Server thread/INFO]: Saving chunks for level 'world'/Nether
[16:49:44] [Server thread/INFO]: Saving chunks for level 'world'/The End
[16:49:44] [Server Shutdown Thread/INFO]: Stopping server
2015-09-22 16:49:44,658 ERROR Attempted to append to non-started appender File
2015-09-22 16:49:44,660 ERROR Unable to write to stream logs/latest.log for appender File
2015-09-22 16:49:44,661 ERROR An exception occurred processing Appender File org.apache.logging.log4j.core.appender.AppenderLoggingException: Error writing to RandomAccessFile logs/latest.log
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.flush(RollingRandomAccessFileManager.java:109)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.write(RollingRandomAccessFileManager.java:90)
at org.apache.logging.log4j.core.appender.OutputStreamManager.write(OutputStreamManager.java:129)
at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:113)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.append(RollingRandomAccessFileAppender.java:96)
at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:99)
at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:425)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:406)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
at org.apache.logging.log4j.core.Logger.log(Logger.java:110)
at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1011)
at net.minecraft.server.MinecraftServer.t(SourceFile:376)
at net.minecraft.server.MinecraftServer$2.run(SourceFile:715)
Caused by: java.io.IOException: Stream Closed
at java.io.RandomAccessFile.writeBytes(Native Method)
at java.io.RandomAccessFile.write(Unknown Source)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.flush(RollingRandomAccessFileManager.java:106)
... 12 more
2015-09-22 16:49:44,671 ERROR Attempted to append to non-started appender ServerGuiConsole
Exception in thread "Server Shutdown Thread" org.apache.logging.log4j.core.appender.AppenderLoggingException: Attempted to append to non-started appender ServerGuiConsole
at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89)
at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:425)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:406)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
at org.apache.logging.log4j.core.Logger.log(Logger.java:110)
at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1011)
at net.minecraft.server.MinecraftServer.t(SourceFile:376)
at net.minecraft.server.MinecraftServer$2.run(SourceFile:715)
C:\temp\minecraft>
- duplicates
-
MC-38134 Race condition in logging when shutting down
- Resolved