Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-137266

Colon in 'Direct Connect' menu crashes game

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 18w46a
    • Confirmation Status:
      Confirmed

      Description

      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

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              rherlitz [Mojang] Rikard Herlitz
              Reporter:
              Oval [Helper] Oval
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: