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

The game crashes during world creation if noise settings height range is outside the dimension height range

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.1, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2 Pre-Release 3, 1.20.2 Pre-Release 4, 1.20.2 Release Candidate 1, 1.20.2 Release Candidate 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w43b, 23w44a, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 3, 1.20.3 Pre-Release 4, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4, 24w03b, 24w04a, 24w05a, 24w06a, 24w07a, 24w09a, 24w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 1.20.5 Pre-Release 3, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5 Release Candidate 3, 1.20.5, 1.20.6
    • Confirmed
    • Crash, Data Packs
    • Important
    • Platform

      The game crashes when I change the world settings height to a number outside the dimension height range. It should probably give you an error with the datapack instead of crashing the game.

      The crash report and datapack was updated for 1.20.4
      Here is the crash report.

       
      ---- Minecraft Crash Report ----
      // My bad.

      Time: 2023-12-06 19:32:23
      Description: Exception generating new chunk

      java.lang.NullPointerException: Cannot invoke "cub.a(int)" because "$$24" is null
      at ebu.a(SourceFile:214)
      at ebu.a(SourceFile:139)
      at dzg.b(SourceFile:199)
      at dzg.a(SourceFile:125)
      at dle.a(SourceFile:513)
      at dle.a(SourceFile:495)
      at java.base/java.lang.Iterable.forEach(Iterable.java:75)
      at dle.a(SourceFile:448)
      at dli.f(SourceFile:54)
      at dli.a(SourceFile:252)
      at amn.a(SourceFile:671)
      at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      at amn.a(SourceFile:660)
      at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
      at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
      at amp.b(SourceFile:62)
      at biu.h(SourceFile:91)
      at biu.a(SourceFile:146)
      at biu.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)

      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------

      – Head –
      Thread: Server thread
      Stacktrace:
      at ebu.a(SourceFile:214)
      at ebu.a(SourceFile:139)
      at dzg.b(SourceFile:199)
      at dzg.a(SourceFile:125)
      at dle.a(SourceFile:513)
      at dle.a(SourceFile:495)
      at java.base/java.lang.Iterable.forEach(Iterable.java:75)
      at dle.a(SourceFile:448)
      at dli.f(SourceFile:54)
      at dli.a(SourceFile:252)
      at amn.a(SourceFile:671)
      at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      at amn.a(SourceFile:660)
      at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
      at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
      at amp.b(SourceFile:62)
      at biu.h(SourceFile:91)
      at biu.a(SourceFile:146)

      – Chunk to be generated –
      Details:
      Location: 22,5
      Position hash: 21474836502
      Generator: dot@210361e2
      Stacktrace:
      at amn.a(SourceFile:671)
      at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      at amn.a(SourceFile:660)
      at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
      at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
      at amp.b(SourceFile:62)
      at biu.h(SourceFile:91)
      at biu.a(SourceFile:146)
      at biu.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)

      – Affected level –
      Details:
      All players: 0 total; []
      Chunk stats: 625
      Level dimension: minecraft:overworld
      Level spawn location: World: (312,64,232), Section: (at 8,0,8 in 19,4,14; chunk contains blocks 304,-64,224 to 319,319,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
      Level time: 0 game time, 0 day time
      Level name: New World
      Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
      Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
      Known server brands: vanilla
      Removed feature flags:
      Level was modded: false
      Level storage version: 0x04ABD - Anvil
      Loaded entity count: 0
      Stacktrace:
      at and.a(SourceFile:1681)
      at net.minecraft.server.MinecraftServer.a(SourceFile:382)
      at net.minecraft.server.MinecraftServer.u_(SourceFile:330)
      at gir.e(SourceFile:69)
      at net.minecraft.server.MinecraftServer.w(SourceFile:650)
      at net.minecraft.server.MinecraftServer.a(SourceFile:270)
      at java.base/java.lang.Thread.run(Thread.java:833)

      – System Details –
      Details:
      Minecraft Version: 1.20.3
      Minecraft Version ID: 1.20.3
      Operating System: Windows 11 (amd64) version 10.0
      Java Version: 17.0.8, Microsoft
      Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
      Memory: 943977624 bytes (900 MiB) / 2650800128 bytes (2528 MiB) up to 6442450944 bytes (6144 MiB)
      CPUs: 6
      Processor Vendor: GenuineIntel
      Processor Name: 11th Gen Intel(R) Core(TM) i5-11600KF @ 3.90GHz
      Identifier: Intel64 Family 6 Model 167 Stepping 1
      Microarchitecture: Rocket Lake
      Frequency (GHz): 3.91
      Number of physical packages: 1
      Number of physical CPUs: 3
      Number of logical CPUs: 6
      Graphics card #0 name: NVIDIA GeForce RTX 2060
      Graphics card #0 vendor: NVIDIA (0x10de)
      Graphics card #0 VRAM (MB): 4095.00
      Graphics card #0 deviceId: 0x1f08
      Graphics card #0 versionInfo: DriverVersion=31.0.15.4629
      Memory slot #0 capacity (MB): 8192.00
      Memory slot #0 clockSpeed (GHz): 3.20
      Memory slot #0 type: DDR4
      Memory slot #1 capacity (MB): 8192.00
      Memory slot #1 clockSpeed (GHz): 3.20
      Memory slot #1 type: DDR4
      Virtual memory max (MB): 32251.72
      Virtual memory used (MB): 15294.16
      Swap memory total (MB): 16000.00
      Swap memory used (MB): 103.95
      JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
      Server Running: true
      Player Count: 0 / 8; []
      Data Packs: vanilla, file/cause_to_crash
      Enabled Feature Flags: minecraft:vanilla
      World Generation: Experimental
      Type: Integrated Server (map_client.txt)
      Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched
      Launched Version: 1.20.3

            Unassigned Unassigned
            SpaceJ_YT SpaceJ
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: