Page 2 of 2

Posted: 16 Nov 2010, 09:13
by udikantz
Another exception that happens once in a while.

the admin messages stop working due to this exception,
i must reboot the server to make it work again:

Code: Select all

INFO   | jvm 1    | 2010/11/16 00:55:41 | Exception type: java.lang.NullPointerException
INFO   | jvm 1    | 2010/11/16 00:55:41 | java.lang.NullPointerException
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at it.gotoandplay.smartfoxserver.data.Zone.getChannelList(Zone.java:940)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at core.helpers.MessageHelper.sendAdminMessage(MessageHelper.java:124)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at core.requests.strings.AdminCmdHandler.sendHappyHourMsg(AdminCmdHandler.java:248)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at core.requests.strings.AdminCmdHandler.activateHAppyHour(AdminCmdHandler.java:229)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at core.requests.strings.AdminCmdHandler.onStringRequest(AdminCmdHandler.java:49)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at extensions.SlotXt.handleRequest(SlotXt.java:439)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.processEvent(ExtensionHandler.java:535)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.run(ExtensionHandler.java:344)
INFO   | jvm 1    | 2010/11/16 00:55:41 | 	at java.lang.Thread.run(Unknown Source)

Posted: 16 Nov 2010, 13:51
by Lapo
Thanks, I think this is already filed in our todo-list.
Try using getUserList() instead of getChannelList(), it returns the same thing but uses a different technique and it shouldn't throw that exception.