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-12636 Edit Lan Server Resolved MC-14260 LAN Crash Resolved MC-15881 "Edit" LAN multiplayer editable then crash Resolved MC-17790 Multiplayer crash Resolved MC-18273 If you try to delete a LAN server, the game will crash. 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