mojira.dev
MC-116656

Closing world during ender dragon respawn and reopening it causes crash

The bug

Closing a world during the ender dragon respawn sequence and reopening it causes a crash. This could be caused by the new advancement "The End... Again..." (end/respawn_dragon.json) in case it tries to track which player placed the end crystals.

Warning: Only try to reproduce this in a seperate test world since the world will be unusable afterwards.

[^crash-2017-04-26_17.14.52-server.txt]

Description: Ticking player

java.lang.NullPointerException: Ticking player
	at bau.a(SourceFile:188)
	at bau.b(SourceFile:135)
	at ayf.a(SourceFile:381)
	at nr.a(SourceFile:227)
	at am$b.a(SourceFile:118)
	at am$a.a(SourceFile:148)
	at am.a(SourceFile:85)
	at nu.k_(SourceFile:390)
	at oe.G_(SourceFile:182)
	at gf.a(SourceFile:231)
	at od.c(SourceFile:187)
	at net.minecraft.server.MinecraftServer.D(SourceFile:652)
	at net.minecraft.server.MinecraftServer.C(SourceFile:562)
	at cgb.C(SourceFile:154)
	at net.minecraft.server.MinecraftServer.run(SourceFile:466)
	at java.lang.Thread.run(Unknown Source)

Linked issues

MC-116659 Entering the End causes crash. Resolved MC-116679 Entering The End will cause the game to crash Resolved MC-116705 Ticking player error after entering the end Resolved MC-116706 Crash when entering the End Resolved MC-116707 Crash when Checking for legacy ender dragon fight Resolved

Attachments

Comments 2

Happened on my server when entering the end and the dragon was already dead. The server didn't crash, but the client gets disconnected and is unable to reconnect.

Confirmed. World is unusable after entering the End. I get disconnected with "Internal server error" as soon as I relog. Nothing to do with the Ender Dragon. Mine is already dead.

marcono1234

Nathan Adams

Confirmed

crash, ender-dragon-respawn, ender_crystal, ender_dragon, reopen, world

Minecraft 17w17a

Minecraft 17w17b

Retrieved