When you connect to a 1.8.9 server with 1.9, instead of getting kicked with the standard message Outdated server! I'm still on 1.8.9
, the client will display an internal exception:
Internal Exception: io.netty.handler.codec.DecoderException:
com.google.gson.JsonSyntaxException:
com.google.gson.stream.MalformedJsonException:
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 2
This seems to happen because on 1.8.9 simple chat messages (without formatting or child components) were sent as primitive JSON string (with the text directly) instead of getting wrapped in a JSON object. This was changed in 1.9, and now it doesn't display the kick messages properly anymore from older servers.
It should probably accept the older JSON chat messages for the kick messages so it will properly display that the user is attempting to connect to an outdated server, instead of showing an error.
Attachments
Comments 8
Well, right now on PrimeMC I wanted to join and the same thing happened my virsion is updated and everything is going well except that. So please if you read this message please reply back.
EDIT: Nevermind, https://bugs.mojang.com/browse/MC-115145 is for the current incarnation of this bug.
This bug is making an appearance again with 17w13b on the first connection, then allows a second connection. It happened once yesterday, then again today. It seems this occurs after a server reboot.
The Server Log only reports the following on the exception:
01.04 11:00:50 [Server] User Authenticator #8/INFO UUID of player RomaqRosher is _________________
01.04 11:00:50 [Connect] User RomaqRosher, IP _________________________
01.04 11:00:50 [Server] Server thread/INFO RomaqRosher joined the game
01.04 11:00:50 [Multicraft] RomaqRosher ran command Message of the Day
01.04 11:00:51 [Disconnect] User RomaqRosher has disconnected, reason: Disconnected
01.04 11:00:51 [Server] Server thread/INFO RomaqRosher left the game
Does this also affect vanilla servers?