Mojira Archive
MC-275230

The game crashes when opening the inventory while in spectator mode

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.

Fixed

[Mod] Avoma

[Mojang] Gegy

2024-08-15, 04:00 PM

2024-08-19, 01:19 PM

2024-08-19, 01:19 PM

9

3

Confirmed

Very Important

Platform

Crash

24w33a

24w34a