strange sfs exceptions

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

udikantz
Posts: 153
Joined: 24 Sep 2009, 09:36

Post 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)
diwip games - co founder & CPO.

http://www.diwip.com
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply