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.

Related issues

MC-12636 Edit Lan Server MC-14260 LAN Crash MC-15881 "Edit" LAN multiplayer editable then crash MC-17790 Multiplayer crash MC-18273 If you try to delete a LAN server, the game will crash. MC-18428 Server Crash MC-19538 Bug in the GUI from the list of multiplayer servers MC-21235 When pinging servers, and a LAN server appears, repeatedly double clicking it (Game does not want to connect), the Edit Server button will become available. When clicking Edit Server button, game crashes. MC-21735 Strange IP for other's LAN world and crash when trying to edit. MC-23800 Minecraft crashes when pressing on the "Edit" button when a LAN world is selected (Highlighted) 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) MC-27366 Crash when editing lan-server MC-27896 Minecraft multipalyer lan bug MC-28877 Hopper: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 MC-30641 LAN Edit Crash MC-31626 Hopper: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 MC-31677 Hopper: java.lang.IndexOutOfBoundsException: Index: 65, Size: 65 MC-31780 Hopper: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 MC-31790 Hopper: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 MC-31836 Hopper: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 MC-31837 Hopper: java.lang.IndexOutOfBoundsException: Index: 37, Size: 37 MC-34949 Hopper: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 MC-35120 Hopper: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 MC-35738 Hopper: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4

Attachments

Comments

migrated
[media]
migrated

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

migrated

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)
migrated

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?

migrated

Yeah, connecting to the server wasn't working.

migrated

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.

migrated

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.

migrated

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