mojira.dev
MC-121901

Game crashes when there is closing square bracket without opening in command

The bug

Game crashes when you type:

/data get entity @p ]

also problem occurs on removal entity data.

Whenever there is closing square bracket without opening one with this command - game crashes.

Crash report

17w45b\: [^crash-2017-11-12_17.42.07-client.txt]

Description: keyPressed event handler

java.lang.OutOfMemoryError: Java heap space
	at java.lang.String.substring(String.java:1956)
	at bu.a(SourceFile:63)
	at bu.a(SourceFile:50)
	at bu.parse(SourceFile:19)
	at com.mojang.brigadier.tree.ArgumentCommandNode.parse(ArgumentCommandNode.java:55)
	at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:167)
	at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:189)
	at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:189)
	at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:189)
	at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:189)
	at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:141)
	at bnk.h(SourceFile:134)
	at bnk.a(SourceFile:94)
	at bnk$$Lambda$473/1635207173.accept(Unknown Source)
	at blt.a(SourceFile:145)
	at blt.b(SourceFile:140)
	at blt.keyPressed(SourceFile:275)
	at bnk.keyPressed(SourceFile:124)
	at bkl.a(SourceFile:269)
	at bkl$$Lambda$470/2119860224.run(Unknown Source)
	at boi.a(SourceFile:428)
	at bkl.a(SourceFile:267)
	at bkl$$Lambda$62/752893574.invoke(Unknown Source)
	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:23)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:2520)
	at bko.b(SourceFile:791)
	at bko.a(SourceFile:370)
	at net.minecraft.client.main.Main.main(SourceFile:134)

Linked issues

Attachments

Comments 1

Irbis

Nathan Adams

Confirmed

Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w50a, Minecraft 18w02a

Minecraft 18w06a

Retrieved