Admin Tool error?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
onetrickwolf
Posts: 2
Joined: 10 Jul 2012, 20:04

Admin Tool error?

Post 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?
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Admin Tool error?

Post 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.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
onetrickwolf
Posts: 2
Joined: 10 Jul 2012, 20:04

Re: Admin Tool error?

Post by onetrickwolf »

Thank you that was the problem. I will be sure to check that in the future.
Post Reply