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

The game crashes when opening the inventory while in spectator mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w34a
    • 24w33a
    • None
    • Confirmed
    • Spectator
    • Crash
    • Very Important
    • Platform

      The Bug:

      The game crashes when opening the inventory while in spectator mode.

      A crash report regarding this has been attached and can be found below. This issue also doesn't appear to happen all of the time.

      Stack Trace:

      Description: Rendering screen
      
      java.lang.NullPointerException: Cannot invoke "faz.a(boolean)" because the return value of "ggr.t()" is null
      	at ghd.h(SourceFile:578)
      	at ghd.a(SourceFile:39)
      	at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
      	at ghe$a.b(SourceFile:1231)
      	at ghd.a(SourceFile:39)
      	at ghe.a(SourceFile:1016)
      	at ggv$a.a(SourceFile:96)
      	at ggv$a.a(SourceFile:85)
      	at ggv$a.a(SourceFile:69)
      	at ggv$a.b(SourceFile:75)
      	at fjn.e(SourceFile:96)
      	at fri.a(SourceFile:160)
      	at fri.a(SourceFile:133)
      	at fri.a(SourceFile:102)
      	at fqi.b(SourceFile:176)
      	at fpt.a(SourceFile:126)
      	at fqi.a(SourceFile:113)
      	at fra.a(SourceFile:33)
      	at fri.a(SourceFile:84)
      	at fpt.c(SourceFile:117)
      	at ggl.a(SourceFile:892)
      	at fib.c(SourceFile:1305)
      	at fib.f(SourceFile:894)
      	at net.minecraft.client.main.Main.main(SourceFile:256)

      Steps to Reproduce:

      1. Open your inventory while in spectator mode.

      Observed Behavior:

      The game crashes.

      Expected Behavior:

      The game would not crash.

            gegy1000 [Mojang] Gegy
            Avoma [Mod] Avoma
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: