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

Worlds created with seed "REDApRES" (0) crash when trying to load new 1.18 mountain biomes / java.lang.NullPointerException: Cannot invoke "dfw.a(double, double, double)" because "this.a" is null



    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w41a
    • 21w37a, 21w38a, 21w39a, 21w40a
    • None
    • Confirmed
    • Crash
    • Very Important


      Basically the title. This doesn't affect any cave biomes. To recreate this you just have to enter "REDApRES" into the seed field and create a new world. After that you can locate and tp/walk to any of the new mountain biomes except Meadow and the world will crash. I tried this on a server and the error was "java.lang.NullPointerException: Cannot invoke "dfw.a(double, double, double)" because "this.a" is null" and the server closed with error code "255".

      I understand that technically seed "0" isn't even supposed to be entered but it have worked with all previous versions so I think this crash counts as a bug.

      My guess is that this new mountain generation is completely based on the raw seed so there probably won't be any fix for this bug but I am still reporting it because I often use it and I got hope.

      Stack trace

      Description: Exception generating new chunk
      java.lang.NullPointerException: Cannot invoke "dfw.a(double, double, double)" because "this.a" is null
      	at dff.a(SourceFile:38)
      	at dfi.a(SourceFile:24)
      	at dff.a(SourceFile:30)
      	at dff.a(SourceFile:13)
      	at det.a(SourceFile:27)
      	at bze.a(SourceFile:352)
      	at crh.a(SourceFile:330)
      	at cod.e(SourceFile:98)
      	at cod$d.doWork(SourceFile:306)
      	at cod.a(SourceFile:256)
      	at abj.a(SourceFile:625)
      	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      	at abj.a(SourceFile:619)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146)
      	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
      	at abl.b(SourceFile:58)
      	at ask.g(SourceFile:91)
      	at ask.a(SourceFile:146)
      	at ask.run(SourceFile:102)
      	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434)
      	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295)
      	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
      	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
      	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
      	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)


        1. crash-2021-07-15_15.21.51-server.txt
          5 kB
        2. crash-2021-07-15_15.24.30-server.txt
          5 kB
        3. crash-2021-07-15_15.27.27-server.txt
          5 kB
        4. crash-2021-07-15_15.30.11-server.txt
          5 kB
        5. crash-2021-08-25_17.32.32-server.txt
          5 kB
        6. crash-2021-09-12_19.17.06-server.txt
          5 kB
        7. crash-2021-09-15_21.02.52-server.txt
          5 kB
        8. crash-2021-09-21_15.04.25-server.txt
          5 kB
        9. crash-2021-09-21_18.27.40-server.txt
          5 kB
        10. crash-2021-09-29_16.43.19-server.txt
          5 kB
        11. crash-2021-09-29_16.48.32-server.txt
          5 kB
        12. crash-2021-09-29_16.55.14-server.txt
          5 kB
        13. crash-2021-10-07_12.21.34-server.txt
          5 kB
        14. crash-2021-10-08_06.51.52-server.txt
          5 kB
        15. crash-2021-10-09_20.16.42-server.txt
          5 kB
        16. crash-2021-10-10_09.13.27-server.txt
          5 kB
        17. crash-2021-10-10_11.12.55-server.txt
          5 kB
        18. crash-2021-10-10_13.26.52-server.txt
          5 kB
        19. crash-2021-10-10_13.29.36-server.txt
          5 kB
        20. crash-2021-10-10_13.31.40-server.txt
          5 kB
        21. crash-2021-10-10_13.35.30-server.txt
          5 kB
        22. crash-2021-10-10_13.38.10-server.txt
          5 kB
        23. deobf_crash-2021-09-15_21.02.52-server.txt
          18 kB
        24. deobf_crash-2021-09-21_15.04.25-server.txt
          18 kB
        25. deobf_crash-2021-09-21_18.27.40-server.txt
          17 kB
        26. deobf_crash-2021-10-07_12.21.34-server.txt
          18 kB
        27. deobf_crash-2021-10-08_06.51.52-server.txt
          17 kB
        28. deobf_crash-2021-10-09_20.16.42-server.txt
          17 kB
        29. deobf_crash-2021-10-10_09.13.27-server.txt
          17 kB
        30. deobf_crash-2021-10-10_11.12.55-server.txt
          17 kB
        31. deobf_crash-2021-10-10_13.26.52-server.txt
          18 kB
        32. deobf_crash-2021-10-10_13.29.36-server.txt
          18 kB
        33. deobf_crash-2021-10-10_13.31.40-server.txt
          17 kB
        34. deobf_crash-2021-10-10_13.35.30-server.txt
          18 kB
        35. deobf_crash-2021-10-10_13.38.10-server.txt
          17 kB
        36. MC-237330_-_21w40a.png
          1.89 MB



            Unassigned Unassigned
            Alexandr_46 Alex Ivanov
            9 Vote for this issue
            7 Start watching this issue