mojira.dev
MC-121282

Server icons erased on loading multiplayer menu

As the title says: the game thinks there's an invalid character:

Invalid icon for server <name> (<ip>)
java.lang.IllegalArgumentException: Illegal base64 character a
    at java.util.Base64$Decoder.decode0(Base64.java:714)
    at java.util.Base64$Decoder.decode(Base64.java:623)
    at boz.g(SourceFile:211)
    at boz.a(SourceFile:143)
    at bkv.a(SourceFile:33)
    at bla.a(SourceFile:413)
    at bla.a(SourceFile:211)
    at bow.a(SourceFile:310)
    at bwe.a(SourceFile:1004)
    at bjh.b(SourceFile:853)
    at bjh.a(SourceFile:371)
    at net.minecraft.client.main.Main.main(SourceFile:134)
Invalid icon for server <name> (<ip>)
java.lang.IllegalArgumentException: Input byte array has incorrect ending byte at 392
	at java.util.Base64$Decoder.decode0(Base64.java:742)
	at java.util.Base64$Decoder.decode(Base64.java:623)
	at boz.g(SourceFile:211)
	at boz.a(SourceFile:143)
	at bkv.a(SourceFile:33)
	at bla.a(SourceFile:413)
	at bla.a(SourceFile:211)
	at bow.a(SourceFile:310)
	at bwe.a(SourceFile:1004)
	at bjh.b(SourceFile:853)
	at bjh.a(SourceFile:371)
	at net.minecraft.client.main.Main.main(SourceFile:134)

Linked issues

Comments 6

Not fully fixed, now they just show as a solid white icon.

And there is no error message about the icon being malformed anymore.

This issue appears again in 1.13pre-5 (and 4)

[Client thread/ERROR]: Invalid icon for server Minecraft Server (ip.censored)java.lang.IllegalArgumentException: Illegal base64 character a 
at java.util.Base64$Decoder.decode0(Base64.java:714) ~[?:1.8.0_51] 
at java.util.Base64$Decoder.decode(Base64.java:623) ~[?:1.8.0_51] 
at ckd.g(SourceFile:211) [1.13-pre5.jar:?] 
at ckd.a(SourceFile:143) [1.13-pre5.jar:?] 
at cgc.a(SourceFile:33) [1.13-pre5.jar:?] 
at cgh.a(SourceFile:391) [1.13-pre5.jar:?]  //from here and on different lines are referenced
at cgh.a(SourceFile:194) [1.13-pre5.jar:?] 
at cka.a(SourceFile:310) [1.13-pre5.jar:?] 
at csa.a(SourceFile:795) [1.13-pre5.jar:?] 
at cep.c(SourceFile:808) [1.13-pre5.jar:?] 
at cep.a(SourceFile:373) [1.13-pre5.jar:?] 
at net.minecraft.client.main.Main.main(SourceFile:143) [1.13-pre5.jar:?]

reopened (see above comment and MC-134196)

Can confirm for 1.13

[14:36:12] [Client thread/ERROR]: Invalid icon for server localhost (localhost)
 java.lang.IllegalArgumentException: Illegal base64 character a
 at java.util.Base64$Decoder.decode0(Base64.java:714) ~[?:1.8.0_51]
 at java.util.Base64$Decoder.decode(Base64.java:623) ~[?:1.8.0_51]
 at clp.g(SourceFile:212) [1.13.jar:?]
 at clp.a(SourceFile:144) [1.13.jar:?]
 at cgv.a(SourceFile:35) [1.13.jar:?]
 at cha.a(SourceFile:391) [1.13.jar:?]
 at cha.a(SourceFile:194) [1.13.jar:?]
 at clm.a(SourceFile:310) [1.13.jar:?]
 at ctn.a(SourceFile:792) [1.13.jar:?]
 at cfi.c(SourceFile:847) [1.13.jar:?]
 at cfi.a(SourceFile:392) [1.13.jar:?]
 at net.minecraft.client.main.Main.main(SourceFile:144) [1.13.jar:?]

Edit: to clarify, it happens when the game tries to display server icon from an older server (1.12.2 or older)

Confirmed for 1.13.1-pre1

user-f2760

Asteraoth

Fry

Confirmed

(Unassigned)

server-icon, server-list

Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w47b, Minecraft 17w48a, ..., Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w09a, Minecraft 19w11b

Minecraft 17w45a, Minecraft 17w49a, Minecraft 19w13b

Retrieved