mojira.dev
MC-16767

EXCEPTION:JAVA.IO.IOEXCEPTION:RECEIVED STRING LENGTH LONGER THAN MAXIMUM ALLOWED when connecting to servers

When connecting to my server, i experienced the error:

EXCEPTION:JAVA.IO.IOEXCEPTION:RECEIVED STRING LENGTH LONGER THAN MAXIMUM ALLOWED (19>16)

I did some testing and worked out that this was because I'd made some custom prefixes for the team names in that world's scoreboard.dat, and while it worked in single player, since the string length was too long, putting the world on my server didn't work.

As far as I can tell, the only fix necessary is increasing the maximum string length allowed for prefixes and suffixes for teams in scoreboard.dat. I understand that at the moment the only things that the scoreboard prefixes and suffixes are used for is the colored names, but keeping the string limit at 16 will break some maps in multiplayer.

Linked issues

Comments 9

I have had a similar issue, there's a maximum number of people you can put on a team (scoreboards). If possible, clearing team "players" should resolve it.

For the time being, or for any other players whom are suffering a similar issue. If you have console/chat access typing "/scoreboard teams empty <team name>" will fix it.

Hope that helps, credit to Valark.

When connecting to my server, i experienced the error:
EXCEPTION:JAVA.IO.IOEXCEPTION:RECEIVED STRING LENGTH LONGER THAN MAXIMUM ALLOWED (19>16)
I did some testing and worked out that this was because I'd made some custom prefixes for the team names in that world's scoreboard.dat, and while it worked in single player, since the string length was too long, putting the world on my server didn't work.
As far as I can tell, the only fix necessary is increasing the maximum string length allowed for prefixes and suffixes for teams in scoreboard.dat. I understand that at the moment the only things that the scoreboard prefixes and suffixes are used for is the colored names, but keeping the string limit at 16 will break some maps in multiplayer.

But how do i increase string length

Increasing the maximum string length is what I think Mojang needs to do to fix the bug. It's not possible to do if you're just a regular server owner, like me and you.

hay guys i found a solution for the problem its so simple u just have to delete the scoreboard file in the folder data and it will work

As of last night; my server members and I are receiving the following Internal Exception:

io.netty.handler.codec.DecoderException:java.io.IOException:
The received string length is longer than maximum allowed (36 > 16)

I am using 14w08a and have been since its release.

I have rebooted (computer and internet) re installed Minecraft server files and my client files but the error remains constant no matter the remedy I ply. The server has been running fine for over a year up until yesterday.

same problem

io.netty.handler.codec.DecoderException:java.io.IOException:
The received string length is longer than maximum allowed (36 > 16)

im running bukkit and a few plugins tried removing them same thing its bukkit or permissionsex and I think its happening when users are being added into permissionsex

How is this solved?? I run a regular world to play multiplayer on and we cannot connect because of this error. 27>16. Please help!

same same issue. please mojang. fix this! Thanks!

mine says this
internal exception io.netty.handler.codec.decoderexception the received string length is longer than maximum allowed <52> 16>

It has been resolved as a duplicate. Go to MC-16008 to discuss this bug.

WumpaCraft

Nathan Adams

Unconfirmed

nbt, scoreboard, string

Minecraft 1.5.2

Retrieved