Page 1 of 1

Admin Tool error?

Posted: 10 Jul 2012, 20:13
by onetrickwolf
Hi, after updating to the latest 2.1.0, I've been getting the following error in my logs when opening the SFS Admin Tool. The error repeats itself until I exit the "Runtime Statistics" part of the Admin Tool:

Code: Select all

14:23:37,372 INFO  [main] v2.SmartFoxServer     - SmartFoxServer 2X (2.1.0) READY!
14:24:12,956 INFO  [SocketReader] core.SocketAcceptor     - Session created: { Id: 1, Type: DEFAULT, Logged: No, IP: 192.168.25.1:55969 } on Server port: 9933 <---> 55969
14:24:13,042 INFO  [pool-1-thread-3] api.SFSApi     - Login in, { Zone: --=={{{ AdminZone }}}==-- }, ( User Name: sfsadmin, Id: 0, Priv: 0, Sess: 192.168.25.1:55969 ) , Type: FlashPlayer:PlugIn:WIN 11,3,300,257, CCU: 1/1
14:24:13,732 ERROR [com.smartfoxserver.v2.controllers.ExtensionController-1] controllers.ExtensionController     -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException
Message: Request handler not found: 'runtimeStats.getData'. Make sure the handler is registered in your extension using addRequestHandler()
Description: Error while handling client request in extension: { Ext: Admin, Type: JAVA, Lev: ZONE, { Zone: --=={{{ AdminZone }}}==-- }, {} }
Extension Cmd: runtimeStats.getData
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:181)
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:137)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

14:24:15,760 ERROR [com.smartfoxserver.v2.controllers.ExtensionController-2] controllers.ExtensionController     -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException
Message: Request handler not found: 'runtimeStats.getData'. Make sure the handler is registered in your extension using addRequestHandler()
Description: Error while handling client request in extension: { Ext: Admin, Type: JAVA, Lev: ZONE, { Zone: --=={{{ AdminZone }}}==-- }, {} }
Extension Cmd: runtimeStats.getData
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:181)
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:137)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The same error occurs on both my servers and on fresh unmodified installations of SFS2X as well. Any suggestions to remedy this error?

Re: Admin Tool error?

Posted: 10 Jul 2012, 20:47
by rjgtav
Hello.
It looks like you're using an older version of the AdminTool with the latest server. Please clear your browser's cache and try again.
Oh, and please do always post all the SFS2X server-side related questions here on the SFS2X Questions forum.

Re: Admin Tool error?

Posted: 10 Jul 2012, 21:20
by onetrickwolf
Thank you that was the problem. I will be sure to check that in the future.