mojira.dev
MC-231361

Occasional exceptionCaught() event: java.nio.channels.ClosedChannelException: null when interacting with multiplayer servers

The bug

Occasionally, when interacting with multiplayer servers (probably on the server list, but I'm not completely sure), the following error is logged in the game log.

[Netty Client IO #1/WARN]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.nio.channels.ClosedChannelException: null
	at io.netty.channel.AbstractChannel$AbstractUnsafe.write(...)(Unknown Source) ~[netty-all-4.1.25.Final.jar:4.1.25.Final]
[Netty Client IO #2/WARN]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.nio.channels.ClosedChannelException: null
	at io.netty.channel.AbstractChannel$AbstractUnsafe.write(...)(Unknown Source) ~[netty-all-4.1.25.Final.jar:4.1.25.Final]

I'm unsure of the significance of this issue, but I have experienced the issue multiple times within the past few days and it didn't seem to have an impact on the game.

Attachments

Comments 2

I can confirm this behavior; this also affects 1.19. As for reproducing this, it is indeed notably inconsistent and seems to occur at random intervals.

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

markderickson

(Unassigned)

Community Consensus

Networking

1.17, 1.17.1, 1.18.1, 1.19, 1.19.2, 23w16a

Retrieved