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

Game crashes when loading new chunks (Exception generating new chunk, caused by ArrayIndexOutOfBoundsException: Index 268435455 out of bounds for length 32)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18 Pre-release 6
    • 1.18 Pre-release 5
    • None
    • Community Consensus
    • Crash
    • Very Important

      I deleted some chunks from my world just as I did with pre-release 4 to reset them and save space. When I get close to where these chunks were, the game crashes no when it didn't before.

      What I expected to happen was...:
      The chunks should just load like they did in pre release 4. I commonly trim old chunks from my world using mca editor. this has always worked and I have never run into any issues besides the occasional ugly chunk border. With the new biome blending I'm fixing those spots in my world so that I no longer have the ugly borders.

      What actually happened was...:
      The game crashed.

      Description: Exception in server tick loop
      
      java.util.concurrent.CompletionException: z: Exception generating new chunk
      	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
      	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1159)
      	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
      	at acx.b(SourceFile:58)
      	at auk.g(SourceFile:91)
      	at auk.a(SourceFile:146)
      	at auk.run(SourceFile:102)
      	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
      	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
      	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
      	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
      	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
      	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
      Caused by: z: Exception generating new chunk
      	at acv.a(SourceFile:639)
      	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      	at acv.a(SourceFile:621)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
      	... 11 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 268435455 out of bounds for length 32
      	at cue.a(SourceFile:255)
      	at cue.a(SourceFile:198)
      	at cue.a(SourceFile:160)
      	at cue.a(SourceFile:125)
      	at cud.a(SourceFile:97)
      	at cqb.e(SourceFile:87)
      	at cqb.a(SourceFile:289)
      	at acv.a(SourceFile:627)
      	... 14 more
      

            panda4994 [Mojang] Panda
            MinerCrafter1225 Colton Dever
            Votes:
            11 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: