However, on development / staging servers, the functionality works as expected.
There are at least 1800 banned users in our ban list, and unfortunately due to the nature of our clients' needs, this number of bans is necessary. Banning by username works fine, however ban by ip, does not.
Anybody know what's causing this ? Here is the log :
Code: Select all
INFO | jvm 1 | 2011/09/01 05:36:08 | Error: java.lang.NullPointerException
INFO | jvm 1 | 2011/09/01 05:36:08 | Handler: it.gotoandplay.smartfoxserver.tasks.BanUserTaskHandler@4c5d143a
INFO | jvm 1 | 2011/09/01 05:36:08 | java.lang.NullPointerException
INFO | jvm 1 | 2011/09/01 05:36:08 | at it.gotoandplay.smartfoxserver.SmartFoxServer.addBannedUser(SmartFoxServer.java:2683)
INFO | jvm 1 | 2011/09/01 05:36:08 | at it.gotoandplay.smartfoxserver.tasks.BanUserTaskHandler.doTask(BanUserTaskHandler.java:47)
INFO | jvm 1 | 2011/09/01 05:36:08 | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.executeTasks(Scheduler.java:314)
INFO | jvm 1 | 2011/09/01 05:36:08 | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.run(Scheduler.java:223)
INFO | jvm 1 | 2011/09/01 05:36:08 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
INFO | jvm 1 | 2011/09/01 05:36:08 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2011/09/01 05:36:08 | at java.lang.Thread.run(Unknown Source)
Code: Select all
_server.banUser(u, 0, "#ERR3", _server.BAN_BY_IP);