server icon not working
[22:51:27 ERROR]: Couldn't load server icon
java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "bufferedimage" is null
at net.minecraft.server.MinecraftServer.lambda$loadStatusIcon$12(MinecraftServer.java:1355) ~[paper-1.20.1.jar:git-Paper-49]
at java.util.Optional.flatMap(Optional.java:289) ~[?:?]
at net.minecraft.server.MinecraftServer.loadStatusIcon(MinecraftServer.java:1351) ~[paper-1.20.1.jar:git-Paper-49]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1106) ~[paper-1.20.1.jar:git-Paper-49]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-49]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
icon is a 64x64 png file named server-icon.png
Are there any plugins or settings that could be causing this issue?
7 Replies
did u ever rename it from another extension to .pnp
or did u download the image as a png from the start
Might have renamed it at some point
Here's the file if that helps
Seems correct to me, but maybe I'm missing something somewhere.
renamed it from another extension to .png+
?
I personally haven't, but it's an image that we've saved and redownloaded like 50 times so it might've changed from a png to a jpeg and back a couple times.
i recommend getting the original
exported to png
(not just renamed)
Don't think I can get the original anymore since it's on my old ssd which is toast. I can try to change this one to something else and then back to png to see if that fixes it.
Weird, I guess something was wrong behind the screens. Didn't even change it to something else, just threw it in a random png converter and the result works fine.