Minecraft crashes if you click delete on a LAN game.
Related issues
is duplicated by
Attachments
Comments


Confirmed when opening my own LAN world. Not sure about what happens if the host and the user are different.

Note:
java.lang.IndexOutOfBoundsException:
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at beb.a(SourceFile:51)
at axa.a(SourceFile:147)
at axr.a(SourceFile:72)
at axr.d(SourceFile:127)
at axr.m(SourceFile:111)
at net.minecraft.client.Minecraft.l(SourceFile:1078)
at net.minecraft.client.Minecraft.K(SourceFile:574)
at net.minecraft.client.Minecraft.run(SourceFile:526)
at java.lang.Thread.run(Unknown Source)

It seems that the length of the array is the number of non-LAN servers you have in the list, so I would guess that the crash lies not in the fact that it doesn't make sense to delete a LAN world, but in the fact that they are not added to the server array. Markku?

Yeah, connecting to the server wasn't working.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Still exists in 13w19a. The delete button appears grayed out, but after trying to join the world, it shows up and causes the crash when clicked.