With the new snapshot I am getting a lot of spam on the console.
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID bd030edb-ba21-423e-b424-4d132528ab3e
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 3e8056c4-2505-41fc-8092-831f208b277b
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID bede3f75-eca1-4339-9d2b-c063097253ef
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID a82f37f4-5d48-4dfc-be13-810e4a9414b3
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 0345e8b2-ba38-43fb-9c1d-c0ec3b12c040
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID c6549753-694f-43a9-8ba3-00e784be07a0
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID c7d6fc93-6951-4960-86d9-aa427891764a
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 26577067-61cf-4ded-a0d9-99cf56dc0f54
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 99060279-c708-4ed5-9adf-e58f8e7f0646
[10:55:10] [Server thread/WARN]: Tried to add entity Cow with pending removal and duplicate UUID 65e03d3c-cfbb-499d-bc33-6c87e6708f0f
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 635a6a33-80f6-45f2-8323-2258bfea7929
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 998beb0e-e41e-4834-a95b-214932aca823
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 51711ae2-bc25-4c23-bf30-1c00d0c618fc
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID c41a7ccc-f8d7-451e-883b-139d9e690631
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 7af4b315-64bc-4c7d-8875-bc4ac28ec905
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 6d6d39b1-f75f-4ae5-8549-1d0b354c0088
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 6b2bfea1-9b9d-4409-a0cd-35a5f6f789cd
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 6005fa23-1305-431e-a5be-7640a96dab16
[10:55:10] [Server thread/WARN]: Tried to add entity Pig with pending removal and duplicate UUID 7c88ab1d-fa58-48ba-bbe5-e45c9573cb20
[10:55:10] [Server thread/WARN]: Tried to add entity Pig with pending removal and duplicate UUID 406c28eb-57ae-45a0-a7b3-7f18057e1842
[10:55:10] [Server thread/WARN]: Tried to add entity Pig with pending removal and duplicate UUID b77b0080-651a-4111-9c3f-40f618aa3e8f
[10:55:10] [Server thread/WARN]: Tried to add entity Pig with pending removal and duplicate UUID 025737e6-6008-4bcd-9f9f-1ef28b0956c8
[10:55:10] [Server thread/WARN]: Tried to add entity Pig with pending removal and duplicate UUID 8c707602-b3f6-4e3a-9f31-0d370c2ac625
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID fb2efafb-9ef8-4fcb-afc3-1f25736a583b
[10:55:10] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID 27fc32ca-b16e-4d9f-aa81-17dff264582d
[10:55:18] [Server thread/WARN]: Tried to add entity Chicken with pending removal and duplicate UUID b27a0f10-2ab4-43d5-b219-a5f8a44d882e
[10:55:18] [Server thread/WARN]: Tried to add entity Villager with pending removal and duplicate UUID bd030edb-ba21-423e-b424-4d132528ab3e
[10:56:09] [Server thread/WARN]: Tried to add entity Zombie with pending removal and duplicate UUID 28a24c76-636c-4f1c-adf4-70034e691d0d
Related issues
is duplicated by
Attachments
Comments


This might comes from entities created in older versions. Does it happen every time you open your world?

It's ongoing, it's possible it only happens when a chunk is first loaded with the new version, however this world was created fresh for 15w38a, so it is a moderately new world.

This seems to be an issue with entity handling when chunks are unloaded. I've been flying around my server in spectator mode with the console open to keep an eye on it, when I travel away from a Nether Portal PigZombies are in the console, it doesn't happen when I load the Nether Portal.

confirmed here, unable to follow the console messages since the 36d version
not confirmed :
" it's possible it only happens when a chunk is first loaded"
it happend everytime, chunk loaded, unloaded, start stop the server, i suspect a problem with dimensions ( since the method travelToDimension(player, int) changed to travelToDimension(player, int, position) )
see https://bugs.mojang.com/browse/MC-89210 i just opened
ps, i saw this error spam in fresh version AND in my modded version

I can also confirm this.
Version: 15w39b
Confirmed for 15w39b

Just to add to this, I was watching the logs and saw MineCartChests so I tp'd to one and its throwing it's items on the floor, got 1 1/2 stacks of diamonds from it so it seems like it throws it out a lot.
Confirmed for 15w39c

Can confirm these errors on linux server. Seems to come up when new snapshot is used and entities in already loaded chucks. Not sure if this is the cause though. I can support

Confirmed on Windows 8.1 running dedicated server 15w39c.

These log messages are "just" warnings that a potential problem with duplicate UUIDs was detected and prevented. It's not a problem, the code I wrote to fix the associated bug should work. I just left the messages in for now, so that I can see how often my code actually prevents it from happening, this will be changed eventually.
TL;DR: it's not a bug, just some useful debug logging

Searge, does that mean the MinecartChests throwing out items onto the ground is unrelated?

Yeah, I have just noticed the minecart chests spewing their items, I figured it was related to this, since I see a lot of duplicate UUIDs for the minecarts as well as other entities.

i found the solution
pointcut spam() : (execution( * org.apache.logging.log4j.spi.AbstractLogger.warn(String,..)));
Object around() : spam() { if(((String)thisJoinPoint.getArgs()[0]).contains("pending"))return null;return proceed();}
150 to 250 spams by minute removed
now i can read my logs 🙂

Created a new issue for the Minecart chest item dupe/spewing MC-89602

Thank you "me"
But how and where put your code in place ?
Is it easy ?
thanks !
Kerv.