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

Server side exception, array out of bounds in FutureTask.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 17w16a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Linux

    • Confirmation Status:
      Unconfirmed

      Description

      I discovered all of a sudden that I could no longer open chests on the client. On a whim, checked the server, and every time I right-click on a chest (of any kind, including ender chests), I get this error:

      [21:28:33] [Server thread/FATAL]: Error executing task
      java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException
              at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_111]
              at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_111]
              at h.a(SourceFile:47) [minecraft_server.17w16a.jar:?]
              at net.minecraft.server.MinecraftServer.D(SourceFile:606) [minecraft_server.17w16a.jar:?]
              at nb.D(SourceFile:335) [minecraft_server.17w16a.jar:?]
              at net.minecraft.server.MinecraftServer.C(SourceFile:562) [minecraft_server.17w16a.jar:?]
              at net.minecraft.server.MinecraftServer.run(SourceFile:466) [minecraft_server.17w16a.jar:?]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
      Caused by: java.lang.ArrayIndexOutOfBoundsException
      

      I'll update this if I can get any insight into what might have triggered this condition. At the moment, I have a full user inventory. I've been crafting tons and tons of bones into bonemeal and then into blocks. But I doubt that really has anything to do with this.

      UPDATE:
      The instant I freed up some space in my inventory (I crafted 64 bone blocks from bonemeal), I stopped getting the exception on the server side.

      Then I filled up my inventory again by crafting 9 stacks of bones into 27 stacks of bonemeal. Once my inventory was full, I could not open chests anymore, and the exception came back. Dropping a single item from my inventory maked the problem go away.

      I've attached a screenshot of my inventory when I am unable to open chests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                theosib2 Timothy Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: