mojira.dev
MC-98027

Keeping Entity is spammed in the console for all entities and the server becomes extremly laggy, crashing soon after loading into game

Linked issues

Comments 33

please attach the log and the crash report
also please make a propper description with steps how to reproduce

Minecraft 1.9 (release)

java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

Server, for example:

...
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID fde210a8-2454-4a05-acd5-bef84b3ac4ae
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a8dfbae5-44bd-4383-9aaf-b924dc99e685
    [18:03:17] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:03:28] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID d86566d7-c33a-45f3-bd6f-cbb2a2021455
    ...
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID fde210a8-2454-4a05-acd5-bef84b3ac4ae
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a2a3a912-8fab-405a-8069-8d71530b4503
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a8dfbae5-44bd-4383-9aaf-b924dc99e685
    [18:05:27] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 339c2a92-54f1-44eb-83f6-cdbb7dd5c30c
    [18:05:37] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID d86566d7-c33a-45f3-bd6f-cbb2a2021455
    ...

You need crash report of server?

I think this issue reproduce on pre-1.9 worlds

I have carefully read title...
My server does not crash. And spam to console for not every entity in the game.

Rezzing (Adriana)

I've the same entity spam in my server logs, if I try to continue my 1.8.9 world on 1.9. No crashes but lag spikes and I'm afraid this could damage my game files. Can someone explain, please? Any workarounds?

@Rezzing I think, we must "recreate" this entityes. Kill/spawn for example.

23 more comments

because that one was reported earlier

its better explain in this post than the other

and this one has no description

go ahead, just don't make it a discussion forum 😉

I have the same problem and I'm no longer able to play the game on my server. Please help!!!

Here the full description of the problem:
http://www.minecraftforum.net/forums/support/server-support/2715194-keeping-entity-that-already-exists-server-version

Ok, I made the mistake to update this buggy game from 1.8.9 to 1.10.2 (Server and Client) and the server gives me error messages like:

[18:37:23] [Server thread/WARN]: Keeping entity Pig that already exists with UUID c7c7fc74-bdca-4d43-a135-69bb3d257d0f
[18:37:23] [Server thread/WARN]: Keeping entity Cow that already exists with UUID c0a0ac0d-3491-44bc-a4c1-71c633cb8fb5
[18:37:23] [Server thread/WARN]: Keeping entity Cow that already exists with UUID 1752c06a-b982-43ac-a323-fb0cd6b0379d
[18:37:23] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 908d49b9-a0f7-4709-aeac-b0a6c0528089
[18:37:23] [Server thread/WARN]: Keeping entity Cow that already exists with UUID 1e4c5bb0-ab4e-499e-bfd4-6a6ed5c8c37f
[18:37:23] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID a58cf73c-99c0-4697-aed5-f63d40fd0804
[18:37:23] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID c64c4d5c-274a-4efb-8500-6417a96cd7ec
[18:37:23] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 3a89e16e-d7d9-41cb-be6d-273936cf40a0
[18:37:23] [Server thread/WARN]: Keeping entity Cow that already exists with UUID cbc367f3-9a5f-4352-a575-962189c57fb8
[18:37:23] [Server thread/WARN]: Keeping entity Cow that already exists with UUID 6fd32058-c6a8-4ef7-a6e2-f9d697d264a4
[18:37:23] [Server thread/WARN]: Keeping entity Sheep that already exists with UUID 6f224a6f-f54f-4158-8add-d77fc7fc1926

After a while the Server gets more and more laggy and I lose connection to the Server which runs on my own machine. So, who shall I congratulate for this programming achievement?

Is there a remedy for this nonsense? How can I get my paid game to work as intended? Please help!

P.S.: If I try to kill the things with in the console with "/kill 3882a1be-00c0-4a58-b432-5c31f4503b94" for example, the server tells me, the mob is killed. So I killed all problematic entities, restarted the server and behold, all errors came again.

So, please help!

Maybe interesting too: If I stop the server, I get:

stop

[15:53:41] [Server thread/INFO]: Stopping the server
[15:53:41] [Server thread/INFO]: Stopping server
[15:53:41] [Server thread/INFO]: Saving players
[15:53:41] [Server thread/INFO]: Saving worlds
[15:53:41] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
[15:53:41] [Server thread/INFO]: Saving chunks for level 'world'/Nether
[15:53:41] [Server thread/INFO]: Saving chunks for level 'world'/The End
[15:53:41] [Server Shutdown Thread/INFO]: Stopping server
2016-07-24 15:53:41,994 ERROR Attempted to append to non-started appender File
2016-07-24 15:53:41,996 ERROR Unable to write to stream logs/latest.log for appender File
2016-07-24 15:53:41,998 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.u(SourceFile:381)
        at net.minecraft.server.MinecraftServer$2.run(SourceFile:738)
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

2016-07-24 15:53:42,032 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.u(SourceFile:381)
        at net.minecraft.server.MinecraftServer$2.run(SourceFile:738)

@unknown, what you described last is probably MC-38134

brandon stan

(Unassigned)

Unconfirmed

Minecraft 1.9 Pre-Release 3, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3

Retrieved