mojira.dev
MC-50231

Failed to load user/ip banlist

Failed to load user banlist:
java.io.FileNotFoundException: banned-players.json (No such file or directory)
        at java.io.FileInputStream.open(Native Method) ~[?:1.7.0_25]
        at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.7.0_25]
        at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.jar:?]
        at pp.g(SourceFile:124) ~[minecraft_server.jar:?]
        at mx.z(SourceFile:99) [minecraft_server.jar:?]
        at mx.<init>(SourceFile:25) [minecraft_server.jar:?]
        at my.g(SourceFile:152) [minecraft_server.jar:?]
        at net.minecraft.server.MinecraftServer.run(SourceFile:367) [minecraft_server.jar:?]
        at mp.run(SourceFile:667) [minecraft_server.jar:?]

Failed to load ip banlist:
java.io.FileNotFoundException: banned-ips.json (No such file or directory)
        at java.io.FileInputStream.open(Native Method) ~[?:1.7.0_25]
        at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.7.0_25]
        at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.jar:?]
        at pp.g(SourceFile:124) ~[minecraft_server.jar:?]
        at mx.y(SourceFile:91) [minecraft_server.jar:?]
        at mx.<init>(SourceFile:27) [minecraft_server.jar:?]
        at my.g(SourceFile:152) [minecraft_server.jar:?]
        at net.minecraft.server.MinecraftServer.run(SourceFile:367) [minecraft_server.jar:?]
        at mp.run(SourceFile:667) [minecraft_server.jar:?]

Pretty sure it's supposed to silently create these files.

Linked issues

Comments 6

While I agree that we could make it look less horrible by showing a proper error message instead of the exception, this is only a warning that files did not exist and empty ones are created.

This issue was marked as fixed in Minecraft 14w10b, but it still displays same message (with stacktrace) in 'b' snapshot.

This was not fixed in the latest snapshot, I downloaded it and ran it and it wiped my whitelist/ip banlist.

Title is a bit misleading because it's just the console not converting the java error message into a (by mojang made) error message.

It does however not say that new ones are being generated.

I would say atleast remove the stacktrace

I still don't understand why it displays a stacktrace. Instead it should say a new empty file will be created (more user friendly).

I understand this is merely a warning, but I'd wish this could be displayed in a more friendly matter.

xPaw

michael

Unconfirmed

Minecraft 14w10a, Minecraft 14w30c

Minecraft 14w10b

Retrieved