The bug
The server crashes when a player connects to it.
Crash report
18w01a\: [^crash-2018-01-03_14.47.58-server.txt]
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at hk.hashCode(SourceFile:121)
at java.util.HashMap.hash(Unknown Source)
at java.util.HashMap.remove(Unknown Source)
at bjy.a(SourceFile:143)
at rr.a(SourceFile:168)
at rk.a(SourceFile:202)
at net.minecraft.server.MinecraftServer.w(SourceFile:687)
at qy.w(SourceFile:352)
at net.minecraft.server.MinecraftServer.v(SourceFile:604)
at net.minecraft.server.MinecraftServer.run(SourceFile:509)
at java.lang.Thread.run(Unknown Source)
Linked issues
is duplicated by 5
Attachments
Comments 10
Getting this same issue. First player joins fine, second player joining crashes the server.
[media]
EDIT: If the original issue is on first connect, it might be related to players loading into the overworld? First player to join was in the nether for me.
I also have the same problem in my world so i edited the world. I put the player in the end dimension en it worked completely fine. As soon as I went trough the end portal i got the same crash.
Happened for me as well. My character was in the overworld when I tried to log on. I will try again later in a different dimension.
This is also happening to my singleplayer world in 18w01a. It affects more than just servers.
Edit 1:
After a bit of testing I can trigger this bug in a superflat world by following these steps:
1. Create a new superflat world
2. Place an item frame
3. Fill a map
4. Place a copy of the map into the item frame
5. Use the mouse to pick up the original map in your inventory
6. The game immediately crashes with this crash report and continues to crash whenever that world is opened
Edit 2:
Removing the item frame by editing the world NBT allowed the world to be loaded again without crashing.
Edit 3:
The crash doesn't occur if the map has had tag:{map:} stripped out of the NBT.
This also seems to occur when you delete a map. I had two copies of the same map, One with an ID of 0, and another with an ID of 4. Upon attempt to delete the map with ID 0, the map is deleted followed by an immediate game crash. Attempts to reopen the world result in immediate crash.
Please note that this Map with ID of 0 was not in any item frames.
I added my crash report to the attachments section as well.
Does this also happen when the datapack is deactivated?