mojira.dev
MC-123830

Opening shulker boxes crashes the game

The bug

Every time I open a shulker box, the game crashes.

Crash report

18w01a\: [^crash-2018-01-03_13.31.14-client.txt]

Description: Rendering item

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
	at com.google.gson.internal.Streams.parse(Streams.java:60)
	at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65)
	at vf.a(SourceFile:493)
	at vf.a(SourceFile:518)
	at hn$a.a(SourceFile:241)
	at anp.q(SourceFile:508)
	at baf.a(SourceFile:57)
	at cam.a(SourceFile:60)
	at cfr.a(SourceFile:116)
	at cfr.a(SourceFile:289)
	at cfr.a(SourceFile:324)
	at bsh.a(SourceFile:248)
	at bsh.a(SourceFile:106)
	at btb.a(SourceFile:26)
	at cao.a(SourceFile:997)
	at bnv.b(SourceFile:822)
	at bnv.a(SourceFile:382)
	at net.minecraft.client.main.Main.main(SourceFile:140)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401)
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:593)
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
	at com.google.gson.internal.Streams.parse(Streams.java:46)
	... 17 more

Linked issues

Attachments

Comments 4

The issue here could be that the item's display name wasn't upgraded to a TextComponent.

Item NBT: {... display:{Name:"Canadian Shield"} ...}

How do I update the item's display to Text Component

Something Mojang has to fix 😛

ok thanks, hopefully this will be fixed before the official release of 1.13

Christopher James Gamblin

(Unassigned)

Unconfirmed

crash, shulker_box

Minecraft 18w01a

Retrieved