Mojira Archive
MC-106800

When selecting a server with a LAN server in the list, pressing the down key when selecting the last server will crash

The bug

When selecting a server to play on in the "Multiplayer" menu, if the last server on your server list is selected, and there is a local network server on the list below it, pressing the "Down" arrow key will cause a crash.

Crash report

Description: keyPressed event handler

java.lang.IndexOutOfBoundsException: Index: 10, Size: 9
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
	at java.util.ArrayList.get(ArrayList.java:429)
	at bpo$b.a(SourceFile:100)
	at bpo$b.get(SourceFile:95)
	at btm.b(SourceFile:338)
	at btm.keyPressed(SourceFile:286)
	at bny.a(SourceFile:269)
	at bny$$Lambda$364/75867593.run(Unknown Source)
	at brs.a(SourceFile:426)
	at bny.a(SourceFile:267)
	at bny$$Lambda$270/2088661957.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.glfwWaitEventsTimeout(GLFW.java:2599)
	at bol.a(SourceFile:294)
	at bob.b(SourceFile:848)
	at bob.a(SourceFile:382)
	at net.minecraft.client.main.Main.main(SourceFile:140)