Variable 'country' geoip error in /bminfo
SupaHam opened this issue ยท 0 comments
[10:40:10] [Server thread/INFO]: SupaHam issued server command: /bminfo badplayer
[10:40:10] [Craft Scheduler Thread - 4/WARN]: Exception in thread "Craft Scheduler Thread - 4"
[10:40:10] [Craft Scheduler Thread - 4/WARN]: org.apache.commons.lang.UnhandledException: Plugin BanManager v5.6.0 generated an exception while executing task 71
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at java.lang.String.replace(String.java:2228)
at me.confuser.banmanager.bukkitutil.Message.replace(Message.java:24)
at me.confuser.banmanager.bukkitutil.Message.set(Message.java:30)
at me.confuser.banmanager.commands.InfoCommand.playerInfo(InfoCommand.java:211)
at me.confuser.banmanager.commands.InfoCommand$1.run(InfoCommand.java:72)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
This happened after I enabled geoip and typed /bmreload. I tried restarting the server, but it doesn't help.
Perhaps consider move the setting variables inside the try-catch?
Edit: I tried it on another player and it works just fine.