mojira.dev
MC-137266

Colon in 'Direct Connect' menu crashes game

The bug

When you enter just a colon ( : ) and press Enter in 'Direct Connect', your game will crash.

How to reproduce

  1. Open the "Direct Connect" menu

  2. Enter ":" in the field

  3. Press Enter to connect
    → ❌ Your game crashes

Crash report

1.13.1: [^crash-2018-10-14_12.35.37-client.txt]

Description: keyPressed event handler

java.lang.ArrayIndexOutOfBoundsException: 0
	at crh.a(SourceFile:61)
	at cjj.<init>(SourceFile:35)
	at clw.a(SourceFile:332)
	at clw.confirmResult(SourceFile:210)
	at cjo.h(SourceFile:65)
	at cjo.keyPressed(SourceFile:91)
	at cfp.a(SourceFile:389)
	at cfp$$Lambda$1029/1333511278.run(Unknown Source)
	at ckc.a(SourceFile:430)
	at cfp.a(SourceFile:387)
	at cfp$$Lambda$841/1050196275.invoke(Unknown Source)
	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:37)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3108)
	at cgc.a(SourceFile:321)
	at cfs.c(SourceFile:875)
	at cfs.a(SourceFile:395)
	at net.minecraft.client.main.Main.main(SourceFile:144)

Linked issues

Attachments

Comments 2

Oval

migrated

Confirmed

:, colon, crash, direct-connect, directconnect

Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a

Minecraft 18w46a

Retrieved