mojira.dev
MC-220557

Game crash when spectated player goes into water

So if you go to spectator mode and start spectating any player, if they jump into the water, Minecraft crashes and MC Launcher shows following error:

The game crashed whilst unexpected error
Error: java.lang.ClassCastException: class ejc cannot be cast to class ejb (ejc and ejb are in unnamed module of loader 'app')

Full crash report & video are attached

Environment

Windows 10, JDK 17-ea

Linked issues

Attachments

Comments 2

Can reproduce.

Fix this, Microsoft.

migrated

(Unassigned)

Unconfirmed

crash, multiplayer

21w11a

Retrieved