Page 1 of 1

NoSuchMethodError when i click Zone Configurator...

Posted: 10 Nov 2012, 01:01
by huhailong
when i click Zone Configurator , occur following error :
53229238 [pool-1-thread-3] INFO com.smartfoxserver.v2.api.SFSApi - User login: { Zone: --=={{{ AdminZone }}}==-- }, ( User Name: sfsadmin, Id: 7, Priv: 0, Sess: 192.168.1.164:55522 ) , Type: FlashPlayer:PlugIn:WIN 11,3,300,262
53246346 [com.smartfoxserver.v2.controllers.ExtensionController-1] WARN com.smartfoxserver.v2.controllers.ExtensionController -
java.lang.NoSuchMethodError: com.smartfoxserver.v2.entities.data.SFSObject.newFromJsonData(Ljava/lang/String;)Lcom/smartfoxserver/v2/entities/data/ISFSObject;
com.smartfoxserver.v2.admin.handlers.ServerConfigModuleReqHandler.handleClientRequest(ServerConfigModuleReqHandler.java:117)
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:192)
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:133)
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)

how to resolve this issue ? thanks.

Re: NoSuchMethodError when i click Zone Configurator...

Posted: 10 Nov 2012, 01:12
by rjgtav
Hi,

Are you running the latest Server? If not, please update to the latest 2.3.0 patch. And don't forget to clear your browser's cache before running again your adminTool after the update.
Can you also try clearing your extensions folder? Simply copy the files inside to somewhere else and try again opening the ZoneConfigurator, after restarting the server (you can let the default pyTest and tris extensions there)

Re: NoSuchMethodError when i click Zone Configurator...

Posted: 10 Nov 2012, 02:14
by huhailong
my sfs2 version is 2.3.0, but i running sfs in eclipse.

Re: NoSuchMethodError when i click Zone Configurator...

Posted: 10 Nov 2012, 16:06
by Lapo
Run the server inside Eclipse? :shock:
If you want to debug your server code you just need to attach the Eclipse debugger to a server instance that is running locally.
Instructions are here: http://docs2x.smartfoxserver.com/Gettin ... wtos#item6