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

Crash trying to start a world: Error: java.lang.NullPointerException: Cannot read field "u" because "☃" is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.17 Pre-release 1
    • Fix Version/s: 1.17 Pre-release 3
    • Labels:
      None
    • Environment:
      Windows 10, Java Version 16, etc (info in crash report)
    • Confirmation Status:
      Community Consensus
    • Category:
      Crash
    • Mojang Priority:
      Very Important

      Description

      When trying to load a specific world I have that worked in versions 21w19a and before, I get an error about not being able to read the "u" field.

       

      In single player, it says that it's because "☃" is null, while on multiplayer it says it's because "☃" is null. (Snowman emoji

       

      I saw in the 1.17 Pre Release 1 notes that MC-226192 was fixed and looked very much like this, but sadly this instance of the NullPointerException still happens 1.17-pre1.

       

      I could upload the world file if need be, but the relevant thing to know is that it uses the data pack based custom dimensions features.

        Attachments

        1. crash.png
          crash.png
          29 kB
        2. crash-2021-05-27_11.01.19-client.txt
          10 kB
        3. error.png
          error.png
          63 kB
        4. latest.log
          5 kB

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              doombubbles James Gale
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: