mojira.dev
MC-135039

The game crashes when /setblock-ing a spawner with an entity ID containing capital letters

The bug

When using the following command

/setblock ~ ~ ~ spawner{SpawnData:{id:BIG}}

the server crashes.

It doesn't crash when using the command

/setblock ~ ~ ~ spawner{SpawnData:{id:small}}

Stack trace

18w30b: [^crash-2018-07-27_12.42.06-server.txt]

java.lang.NullPointerException: Exception ticking world
	at axg.g(SourceFile:51)
	at axg.b(SourceFile:197)
	at bjy.a(SourceFile:56)
	at bjy.aa_(SourceFile:74)
	at bjy.Z_(SourceFile:69)
	at tj.a(SourceFile:204)
	at tj.d(SourceFile:180)
	at tk.c(SourceFile:101)
	at tc.a(SourceFile:221)
	at net.minecraft.server.MinecraftServer.b(SourceFile:728)
	at net.minecraft.server.MinecraftServer.a(SourceFile:661)
	at dga.a(SourceFile:159)
	at net.minecraft.server.MinecraftServer.run(SourceFile:564)
	at java.lang.Thread.run(Thread.java:745)

Linked issues

Attachments

Comments 3

Probably the same / related to MC-134608, but very different stack trace.

Confirmed for 18w30b.

Relates to MC-132281 in a very different context.

Same reason as MC-134967, fixed in 18w31a

violine1101

(Unassigned)

Confirmed

crash, spawner

Minecraft 18w30b

Minecraft 18w31a

Retrieved