mojira.dev
MC-296644

Game crashes while rendering section / java.lang.NullPointerException: Cannot read field "b" because "$$3" is null

This crash seems to happen inconsistently in various different scenarios. The following ways to cause the crash have been found so far:

  • Loading a resource pack (reproduction steps are unknown)

  • Flying around in Creative mode (reproduction steps are unknown)

  • Flying around in Spectator mode (potential reproduction steps can be found in MC-293608)

  • Teleporting between dimensions multiple times in quick succession (this crashes the game somewhat consistently)

Stack trace:

java.lang.NullPointerException: Cannot read field "b" because "$$3" is null
	at gvd$b.a(SourceFile:319)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	at gvd.f(SourceFile:153)
	at gri.c(SourceFile:1190)
	at gri.a(SourceFile:479)
	at grd.a(SourceFile:755)
	at grd.a(SourceFile:518)
	at fqq.c(SourceFile:1353)
	at fqq.f(SourceFile:936)
	at net.minecraft.client.main.Main.main(SourceFile:265)

Linked issues

Attachments

Comments 9

This also occurs when the player changes the main graphic settings.

Please test if this also happens when using the official vanilla launcher and Java runtime environment. PrismLauncher is an unsupported third-party launcher.

tested, it also crashes in Vanilla

I got the same crash without having any resource packs enabled, just while flying around in creative.

[media]

Got the crash when going back and forth through a nether portal

[media][media]

In 1.21.5 Pre-Release 1;

After I went back to the title screen after dying; I was going to create another world but then a game crash occured. the describtion in the launcher read:

Cannot read field "b" because "$$3" is null

I see a patch already in the notes for 1.21.5 Pre-Release 2; hopefully it works.

I just shared this as I did not have a world loaded anymore; as I was navigating between menus at the title after dying when the crash occured for me.

i got this crash when i was just being in the overworld

I got black screen New world

Lolothepro29

Nathan Adams

Confirmed

Platform

Very Important

Crash, Rendering

1.21.5 Pre-Release 1

1.21.5 Pre-release 2

Retrieved