mojira.dev
MC-12731

Minecraft crashes if you click edit or delete on a LAN game

Minecraft crashes if you click delete on a LAN game.

Linked issues

MC-30641 LAN Edit Crash Resolved MC-18428 Server Crash Resolved MC-14260 LAN Crash Resolved MC-21735 Strange IP for other's LAN world and crash when trying to edit. Resolved MC-25126 Minecraft 1.6.2 crashed when editing the Multipayer Server info. Also, unable to connect to local networks since 1.6.2 (could connect in 1.6.1) Resolved

Attachments

Comments 6

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.

Troy Kidd

Erik Broes

Confirmed

crash, multiplayer

Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w23b, Snapshot 13w24a, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4

Minecraft 13w36a

Retrieved