mojira.dev
MC-122351

Crash when exiting a world: java.lang.ArrayIndexOutOfBoundsException: -1

The bug

When clicking 'Save and quit to title', the client crashes instantly.

Crash reports

1. In 17w47a

17w47a\: [^crash-2017-11-22_18.35.11-client.txt]

Description: Unexpected error

java.lang.ArrayIndexOutOfBoundsException: -1
	at java.util.ArrayList.elementData(ArrayList.java:418)
	at java.util.ArrayList.remove(ArrayList.java:495)
	at uf.e(SourceFile:103)
	at bmg.b(SourceFile:877)
	at bmg.a(SourceFile:369)
	at net.minecraft.client.main.Main.main(SourceFile:134)

2. In 18w14b

[media]

Attachments

Comments 4

Cannot reproduce.

Can you please zip the world and attach it to this ticket or upload it somewhere else?

It is happening to me almost everytime I exit a world, no matter what, however apparently no information is lost and everything seems fine when I enter the next time (until I exit that world again)

This was fixed in a snapshot that I don't remember, 18w15a or 18w16a.

Néstor Ezquerra

(Unassigned)

Unconfirmed

Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w50a, Minecraft 18w14b

Minecraft 1.13-pre3

Retrieved