Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-125956

Game crash - an unexpected error has occurred

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 18w07c
    • None
    • Unconfirmed

      The bug

      After playing 18w07c for a few hours, I got this. I do not know why. Error logs show:

      java.lang.IndexOutOfBoundsException: Index -1 out-of-bounds for length 0
      

      Crash report

      Description: Unexpected error
      
      java.lang.IndexOutOfBoundsException: Index -1 out-of-bounds for length 0
      	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
      	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
      	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
      	at java.base/java.util.Objects.checkIndex(Objects.java:372)
      	at java.base/java.util.ArrayList.remove(ArrayList.java:516)
      	at wi.e(SourceFile:103)
      	at bxe.b(SourceFile:826)
      	at bxe.a(SourceFile:381)
      	at net.minecraft.client.main.Main.main(SourceFile:141)
      

            Unassigned Unassigned
            AnnieP Ann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: