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

Crash: java.lang.NullPointerException: Cannot invoke "ddm.a(cao, cps, java.util.Random, gh)" because the return value of "java.util.function.Supplier.get()" is null

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.18 Pre-release 1
    • 1.18 Pre-release 2
    • None
    • Confirmed
    • Crash
    • Very Important

    Description

      The bug

      The game may occasionally crash when loading new chunks in an upgraded world.

      Stack trace

      Description: Feature placement
      
      java.lang.NullPointerException: Cannot invoke "ddm.a(cao, cps, java.util.Random, gh)" because the return value of "java.util.function.Supplier.get()" is null
      	at dbi.a(SourceFile:75)
      	at dem.a(SourceFile:88)
      	at dem.a(SourceFile:84)
      	at dev.a(SourceFile:62)
      	at cps.a(SourceFile:259)
      	at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
      	at cps.a(SourceFile:258)
      	at cpu.c(SourceFile:134)
      	at cpu.a(SourceFile:274)
      	at acp.a(SourceFile:627)
      	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      	at acp.a(SourceFile:621)
      	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 acr.b(SourceFile:58)
      	at aud.g(SourceFile:91)
      	at aud.a(SourceFile:146)
      	at aud.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)

      Attachments

        1. crash-2021-11-11_11.13.06-server.txt
          4 kB
        2. crash-2021-11-11_11.24.46-server.txt
          5 kB
        3. crash-2021-11-11_15.35.37-server.txt
          4 kB
        4. crash-2021-11-11_21.08.01-server.txt
          6 kB
        5. crash-2021-11-13_14.52.21-server.txt
          4 kB
        6. crash-2021-11-13_14.52.21-server-1.txt
          4 kB
        7. crash-2021-11-13_15.01.14-server.txt
          5 kB
        8. crash-2021-11-13_15.38.59-server.txt
          5 kB
        9. crash-2021-11-13_18.27.04-server.txt
          6 kB
        10. crash-2021-11-13_18.35.30-server.txt
          6 kB
        11. crash-2021-11-14_12.26.00-server.txt
          5 kB
        12. crash-2021-11-14_12.34.27-server.txt
          5 kB
        13. crash-2021-11-14_12.35.28-server.txt
          14 kB
        14. crash-2021-11-14_12.35.28-server-1.txt
          14 kB
        15. crash-2021-11-14_23.04.09-server.txt
          6 kB
        16. deobf_crash-2021-11-11_11.13.06-server.txt
          11 kB
        17. deobf_crash-2021-11-11_11.24.46-server.txt
          20 kB
        18. deobf_crash-2021-11-11_15.35.37-server.txt
          11 kB
        19. deobf_crash-2021-11-13_14.52.21-server.txt
          11 kB
        20. deobf_crash-2021-11-13_14.52.21-server-1.txt
          11 kB
        21. deobf_crash-2021-11-13_15.01.14-server.txt
          20 kB
        22. deobf_crash-2021-11-13_15.38.59-server.txt
          20 kB
        23. deobf_crash-2021-11-13_18.27.04-server.txt
          20 kB
        24. deobf_crash-2021-11-13_18.35.30-server.txt
          20 kB
        25. deobf_crash-2021-11-14_12.26.00-server.txt
          20 kB
        26. deobf_crash-2021-11-14_12.34.27-server.txt
          20 kB
        27. deobf_crash-2021-11-14_12.35.28-server.txt
          15 kB
        28. deobf_crash-2021-11-14_12.35.28-server-1.txt
          15 kB
        29. deobf_crash-2021-11-14_23.04.09-server.txt
          20 kB
        30. Unbenannt.png
          Unbenannt.png
          920 kB

        Issue Links

          Activity

            People

              fry [Mojang] Georgii Gavrichev
              kmurphy97140 Kevin Murphy
              Votes:
              31 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: