mojira.dev
MC-137250

Entering a single colon (:) in the Direct Connect menu crashes the game

Steps to reproduce:

  1. Open the "Direct Connect" menu.

  2. Enter ":" in the "IP Adress" field.

  3. Press Enter to connect.

  4. Observe crash

What did I expect to happen?

I expected the game to do nothing or show me a message that I entered an invalid address.

Stacktrace:
```

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 ckc.a(SourceFile:430)

at cfp.a(SourceFile:387)

at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:37)

at org.lwjgl.system.JNI.invokeV(Native Method)

at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3029)

at cgc.a(SourceFile:309)

at cfs.c(SourceFile:875)

at cfs.a(SourceFile:395)

at net.minecraft.client.main.Main.main(SourceFile:144)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)

at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)

at org.multimc.EntryPoint.listen(EntryPoint.java:143)

at org.multimc.EntryPoint.main(EntryPoint.java:34)

```

Comments 1

Thank you for your report!
However, this issue is Invalid.

Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.

  • Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.

  • Any plugin issues need to be addressed to the creator of the plugin or resource pack.

  • If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run modified server software.

Quick Links:
☃D83D? Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

MegaXLR

(Unassigned)

Unconfirmed

Minecraft 1.13.1

Retrieved