Board Thread:Bug Reports/@comment-25612015-20151231124220

I'm not sure that what follows is a LOTR mod bug, but since it first appeared after I installed beta 25.3 in mid november (from beta 24.4) and I don't recall making other technical changes, that's a possibility...

The root problem here is that player's positions are sometimes reinitialised on the 3 axes to 1.7976931348623157e+308 on my multiplayer server (these values are stored inside Minecraft's world/playerdata/UUID.dat files).

When an affected player tries to relog, this either causes a server freeze (no one can connect until the server is restarted) or a server crash (I counted 20 of them in 1 month, against a total of 8 for the 10 previous months).

We haven't been able yet to understand the circonstances under which this happens. It was thought at one time that it was due to disconnecting just after being killed and before being respawned, but this was not confirmed.

The crash reports do not indicate a problem in the LOTR mod, but I think the crashes are merely the consequence of the erroneous position, which must be outside of Minecraft world bounds and definitely far far above the 256 height limit!

In my server case, I now have automated processes that detect freezes and crashes, and then correct all affected players positions, so It's not a big issue anymore, but it might still affect other server owners?

With the discussion about the lost mounts when fast traveling, I got the impression that this might be somehow related and so I decided to submit it here.

Perhaps, it could be linked to one of the following recent changes: Public Beta 26 * Fixed player map locations persisting after leaving a server and opening a singleplayer world Public Beta 25 * Custom waypoints now save and use the y-coordinate they were created at

For completeness, here's an example crash report:

Minecraft Crash Report // Don't do that.

Time: 11/30/15 2:22 PM Description: Exception ticking world

java.util.NoSuchElementException at org.bukkit.craftbukkit.v1_7_R4.util.LongObjectHashMap$ValueIterator.next(LongObjectHashMap.java:339) at org.bukkit.craftbukkit.v1_7_R4.util.LongObjectHashMap$KeyIterator.next(LongObjectHashMap.java:359) at org.bukkit.craftbukkit.v1_7_R4.util.LongObjectHashMap$KeyIterator.next(LongObjectHashMap.java:343) at net.minecraft.world.SpawnerAnimals.func_77192_a(SpawnerAnimals.java:133) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:253) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:931) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669) at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows: ---

-- Head -- Stacktrace: at org.bukkit.craftbukkit.v1_7_R4.util.LongObjectHashMap$ValueIterator.next(LongObjectHashMap.java:339) at org.bukkit.craftbukkit.v1_7_R4.util.LongObjectHashMap$KeyIterator.next(LongObjectHashMap.java:359) at org.bukkit.craftbukkit.v1_7_R4.util.LongObjectHashMap$KeyIterator.next(LongObjectHashMap.java:343) at net.minecraft.world.SpawnerAnimals.func_77192_a(SpawnerAnimals.java:133) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:253)

-- Affected level -- Details: Level name: world All players: 2 total; [EntityPlayerMP['_Oropher_'/467807, l='world', x=37891.36, y=129.00, z=-18087.70](_Oropher_ at 37891.359363547475,129.0,-18087.69510636756), EntityPlayerMP['spokiechris'/516445, l='world', x=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.00, y=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.00, z=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.00](spokiechris at 1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308)] Chunk stats: ServerChunkCache: 1009 Drop: 0 Level seed: ... Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: ERROR NullPointerException: null Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:931) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669) at java.lang.Thread.run(Thread.java:745)

---

Thanks for your attention! 