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

Opening survival inventory when opening world crashes game

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2
    • None
    • Windows 7 (64-bit)
    • Community Consensus
    • Crash
    • Important

      The bug

      When opening a world, if the player opens their inventory before the world has fully loaded, the game crashes displaying the message: "The game crashed whilst rendering entity in world"

      How to recreate

      1. Open the game
      2. Select a world and open it (note, the world must be a survival world or a creative world where the last opened tab was the Survival Inventory)
      3. Once the world first opens (when the dirt loading screen disappears) open your inventory (spamming the key works)
      4. Game closes world and crashes

      My best guess is that the game attempts to load the player's model before it's been loaded into the world, ending with a NullPointerException. Notice that the crash does not occur on any other creative mode inventory tabs.

      Crash report

      Description: Rendering entity in world
      
      java.lang.NullPointerException: Rendering entity in world
      	at dty.a(SourceFile:55)
      	at dty.a(SourceFile:34)
      	at dpl.a(SourceFile:385)
      	at dbm.a(SourceFile:142)
      	at dbd.a(SourceFile:770)
      	at daq.render(SourceFile:83)
      	at dbf.render(SourceFile:42)
      	at dbd.render(SourceFile:671)
      	at dkn.a(SourceFile:686)
      	at cvn.e(SourceFile:954)
      	at cvn.b(SourceFile:411)
      	at net.minecraft.client.main.Main.main(SourceFile:154)
      

            Excited Maria Lemón
            johnnyhotshotmc@gmail.com Johnny Puskar
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: