mojira.dev
MC-115145

com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1

After about 15 mins of running this version server crashed twice and now I can't log in to server I get this message, If I roll back to 17w13a which is what I was running before works fine

Connection Lost
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 1

Attachments

Comments 9

I had this as well, but only got it on 1st time attempting to join my server, after that i havent as yet re-received that error.

This was marked as a 'duplicate' of MC-115151 - Which lead me here.

I can confirm every time my server is started. This first time I connect or any other player connects. They are promptly disconnected.

Once you have connected once, and been disconnected. You can reconnect again fine.

I only experience this on 17w13b (Not 17w13a...) [Bot] Arisa changed affected versions in error...

I see the same issue: First time I connect to my server (running on the same machine, using localhost, if that matters), I get this exception. If I try again immediately, I can connect successfully.

If I stop the server and start it again later, the same exception occurs on first attempt to connect.

Edit: This is on 17w13b. Did not see with 17w06a. I don't remember it with 17w13a, either.

Persists on 17w14a

[media]

Still present on 17w14a for me too. Log from dedicated server:

[17:35:58] [User Authenticator #1/INFO]: UUID of player BinaryCraft is 1f58f607-6a9f-41ba-a07f-330df7b8e903
[17:35:58] [Server thread/INFO]: BinaryCraft[/151.230.26.192:64909] logged in with entity id 322 at (-244.6201077041558, 63.0, 278.2514904435229)
[17:35:58] [Server thread/INFO]: BinaryCraft joined the game
[17:36:00] [Server thread/INFO]: BinaryCraft lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: Error while write(...): Broken pipe], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[17:36:00] [Server thread/INFO]: BinaryCraft left the game

Possibly related. Persisting in 17w15a

[media]

This might have been fixed previously with a different issue, unless you can confirm that it still exists.

Saw someone on Reddit having this Issue in 1.18 wrote him to post a screenshot here where the version is visible.

Here is the post:

Post

[media]

PS: Sorry for the screenshot added to the Issue, but I can't add an image only to this post.

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Peter Welch

(Unassigned)

Unconfirmed

Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a

Retrieved