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

Game crashes with superflat preset is above 256: java.lang.ArrayIndexOutOfBoundsException: 256

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.7.10, Minecraft 1.8-pre1, Minecraft 1.8.1-pre3, Minecraft 15w37a, Minecraft 16w32b, Minecraft 1.11, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w02a, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2
    • None
    • Confirmed
    • Crash

      The bug

      If the player makes a preset for superflat that goes over the build limit, the game hangs on the loading screen.

      Example preset:

      minecraft:bedrock,255*minecraft:dirt,minecraft:grass;1;
      

      Crash report

      Description: mouseClicked event handler
      
      java.lang.ArrayIndexOutOfBoundsException: 256
      	at buc.w(SourceFile:205)
      	at buc.b(SourceFile:383)
      	at cjl.a(SourceFile:70)
      	at cjz$1.a(SourceFile:170)
      	at cgt.mouseClicked(SourceFile:103)
      	at chp.mouseClicked(SourceFile:46)
      	at cfu.b(SourceFile:83)
      	at cfu$$Lambda$1007/1799068185.run(Unknown Source)
      	at ckc.a(SourceFile:430)
      	at cfu.a(SourceFile:83)
      	at cfu$$Lambda$839/270276013.invoke(Unknown Source)
      	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3108)
      	at cgc.a(SourceFile:321)
      	at cfs.c(SourceFile:875)
      	at cfs.a(SourceFile:395)
      	at net.minecraft.client.main.Main.main(SourceFile:144)
      

        1. crash-2017-10-12_21.34.32-server.txt
          1 kB
          [Mod] Michael Wobst
        2. crash-2018-08-26_12.24.23-client.txt
          3 kB
          [Mod] Michael Wobst

            boq [Mojang] Bartosz Bok
            pie595 pie595
            Votes:
            16 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: