mojira.dev
MC-185653

[Crash] java.lang.NullPointerException - Crash when killing the enderdragon in other dimensions via custom world

Using the end type with end terrain generation in other dimensions creates the dragon fight as if it was in the end, similar to spawning an ender dragon with commands except the fight works, however killing the dragon crashes the game immediately causing the world to roll back. Attempting to enter the end portal also crashes the game upon entering inside which could be related or tied in some way to MC-184948 which does not crash the game and has a much different response when entering.

It seems to matter if the end type is used. Using other types does not crash the game especially overworld.

(20w21a) crash-2020-05-25_17.09.14-server.txt

Description: Colliding entity with block

java.lang.NullPointerException: Colliding entity with block
	at any.a(SourceFile:2311)
	at bam.a(SourceFile:364)
	at bwk.a(SourceFile:44)
	at cei$a.a(SourceFile:864)
	at any.at(SourceFile:955)
	at any.a(SourceFile:644)
	at bam.h(SourceFile:114)
	at yw.a(SourceFile:627)
	at yw$$Lambda$3985/93031781.accept(Unknown Source)
	at bpa.a(SourceFile:591)
	at yw.a(SourceFile:420)
	at net.minecraft.server.MinecraftServer.b(SourceFile:893)
	at net.minecraft.server.MinecraftServer.a(SourceFile:832)
	at enr.a(SourceFile:89)
	at net.minecraft.server.MinecraftServer.run(SourceFile:691)
	at java.lang.Thread.run(Thread.java:745)

Attachments

Comments 2

Can you please attach a datapack that creates a dimension with this issue (in 20w30a) so this ticket can be tested and confirmed?

The issue appears to have been fixed after 1.16 was released.

Tstu0001

(Unassigned)

Unconfirmed

Crash

crash, crash-report, customized-world, dragon, null-pointer-exception

20w21a, 1.16 Pre-release 2

Retrieved