NoSuchMethodError when i click Zone Configurator...

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
huhailong
Posts: 28
Joined: 14 May 2010, 04:39

NoSuchMethodError when i click Zone Configurator...

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

Re: NoSuchMethodError when i click Zone Configurator...

Post 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)
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.
huhailong
Posts: 28
Joined: 14 May 2010, 04:39

Re: NoSuchMethodError when i click Zone Configurator...

Post by huhailong »

my sfs2 version is 2.3.0, but i running sfs in eclipse.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: NoSuchMethodError when i click Zone Configurator...

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