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

Crash: java.lang.NullPointerException occures when generating some chunks in upgraded world


    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18 Pre-release 1
    • Java 17.0.1, Windows 11, 4 GB allocated RAM, Nvidia GeForce GTX 650
    • Unconfirmed
    • (Unassigned)

      The Bug:

      On upgraded world, when you start generating new chunks near already generated territory(on 1.17.1 and older versions) sometimes game freezes and then crashes

      Steps to reproduce:

      1. Make a world in 1.17.1
      2. Generate a big amount of chunks(like 1000x1000 blocks area)
      3. Open this world in 1.18 Pre-release 1
      4. Fly and generate new chunks near the end of 1.17.1 chunks
      5. After some time of flying in such a trajectory you will see freeze or crash of the game

      Additional information:

      • This bug is kinda tricky to discover
      • I tested this bug in a world with small amount of pre-existed old chunks and there were no crashes
      • In the video(Minecraft 2021.11.11), left side are old chunks and right side are new chunks
      • Java`s version is 17 because there is a bug with new launcher that crashes your computer when you are using built-in java

        1. crash-2021-11-11_21.19.50-server.txt
          5 kB
          Lin Harvey
        2. crash-2021-11-11_22.29.56-server.txt
          6 kB
          Gleb Dobokvashin
        3. deobf_crash-2021-11-11_21.19.50-server.txt
          20 kB
          [Bot] Arisa
        4. deobf_crash-2021-11-11_22.29.56-server.txt
          20 kB
          [Bot] Arisa
        5. Minecraft 2021.11.11.mp4
          9.77 MB
          Gleb Dobokvashin
        6. Снимок экрана 2021-11-11 223023.jpg
          173 kB
          Gleb Dobokvashin

            Unassigned Unassigned
            CrUeLGeRoI Gleb Dobokvashin
            2 Vote for this issue
            1 Start watching this issue