mojira.dev
MC-52652

1.7.6 server can't parse banlist from older version

The 1.7.6 server version jar doesn't automatically parse the banlist from previous versions correctly, it can't parse date: 'Forever'.

[15:09:52] [Server thread/WARN]: Could not parse user banlist entry for xxxxr4336
java.text.ParseException: Unparseable date: "Forever"
at java.text.DateFormat.parse(Unknown Source) ~[?:1.7.0_51]
at oa.onProfileLookupSucceeded(SourceFile:94) [minecraft_server.1.7.6.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:58) [minecraft_server.1.7.6.jar:?]
at ny.a(SourceFile:58) [minecraft_server.1.7.6.jar:?]
at ny.a(SourceFile:111) [minecraft_server.1.7.6.jar:?]
at ls.aE(SourceFile:417) [minecraft_server.1.7.6.jar:?]
at ls.e(SourceFile:151) [minecraft_server.1.7.6.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:339) [minecraft_server.1.7.6.jar:?]
at li.run(SourceFile:628) [minecraft_server.1.7.6.jar:?]

Environment

Windows 7 x64
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Comments 5

java.text.ParseException: Unparseable date: "Forever"

Try 1.7.7 and let us know if this issue persists.

1.7.7 has the same issue

java.text.DateFormat.parse(Unknown Source) ~[?:1.7.0_51] isn't going to handle something like "Forever", it wants an actual formatted date. If you want a basically permanent ban, try putting in something with a year of like 2100.

Maybe true, but the 'Forever' string was added by Minecraft version <= 1.7.5 by default, not a custom plugin or anything so should also automatically be parsed by Minecraft >= 1.7.6

migrated

SeargeDP

Unconfirmed

Minecraft 1.7.6, Minecraft 1.7.7

Minecraft 1.7.8

Retrieved