mojira.dev
MC-135761

StackOverflowError when LAN world is closed

The bug

If the host of a LAN world closes the world while other players are still playing on that world, those players will be kicked with a java.lang.StackOverflowError error message. The kick message should be something like "Server closed" instead.

[media]

To reproduce

  1. Open a world to LAN

  2. Join the LAN server using another account

  3. Close the LAN world

  4. The player that joined the LAN server will be kicked with the error message

Linked issues

Attachments

Comments 5

Confirmed for 1.13.1.

Confirmed for 1.13.2-pre2.

Can confirm in 20w51a.

Can confirm in 1.17.1.

Hi! We cannot reproduce this, have you been able to reproduce this in the latest versions / snapshots?

violine1101

(Unassigned)

Confirmed

Platform

Important

Networking

Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, ..., 20w13b, 1.16.4, 20w51a, 21w05b, 1.17.1

Retrieved