NoSuchMethodError on calling getClipList()...please help
Posted: 21 Sep 2012, 18:04
Hello, I have noticed an error in my server log lately and am having a hard time tracking it down. I have figured out that it occurs when the getClipList is called by the client after joining a room. The error is consistant and prevents clips from being played. It does allow clips to be recorded and the appropriate files are created in the streams folder however the success or fail event is never fired on the client after a recorded clip is submitted.
Here is the stack trace from the server log and this is the only error I am seeing in that area:
19 Sep 2012 | 15:43:19,978 | WARN | com.smartfoxserver.v2.controllers.ExtensionController-4 | v2.controllers.ExtensionController | |
java.lang.NoSuchMethodError: com.smartfoxserver.v2.entities.data.SFSObject.newFromJsonData(Ljava/lang/String;)Lcom/smartfoxserver/v2/entities/data/SFSObject;
com.smartfoxserver.v2.redbox.managers.AVClipManager.handleClipListRequest(AVClipManager.java:193)
com.smartfoxserver.v2.redbox.managers.AVClipManager.handleClientRequest(AVClipManager.java:128)
com.smartfoxserver.v2.redbox.handlers.AVClipHandler.handleClientRequest(AVClipHandler.java:18)
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)
The server is a windows 32bit server running sfs2x 2.3.0 with redbox2x and the red5 that came with redbox2x package. I have verified my extension is extending redbox and it is initialized correctly. In my extension this error fires as soon as the joinroom event is finished and the client calls getcliplist() function.
Any Ideas as to why I am getting this error? Also the extension has not been modified lately and was working fine up to about 1-2 weeks ago. The only change lately I have made is the upgrade to 2.3.0 of sfs2x however I am fairly sure it was doing this before that.
Thank you for any help you can provide in this matter.
Here is the stack trace from the server log and this is the only error I am seeing in that area:
19 Sep 2012 | 15:43:19,978 | WARN | com.smartfoxserver.v2.controllers.ExtensionController-4 | v2.controllers.ExtensionController | |
java.lang.NoSuchMethodError: com.smartfoxserver.v2.entities.data.SFSObject.newFromJsonData(Ljava/lang/String;)Lcom/smartfoxserver/v2/entities/data/SFSObject;
com.smartfoxserver.v2.redbox.managers.AVClipManager.handleClipListRequest(AVClipManager.java:193)
com.smartfoxserver.v2.redbox.managers.AVClipManager.handleClientRequest(AVClipManager.java:128)
com.smartfoxserver.v2.redbox.handlers.AVClipHandler.handleClientRequest(AVClipHandler.java:18)
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)
The server is a windows 32bit server running sfs2x 2.3.0 with redbox2x and the red5 that came with redbox2x package. I have verified my extension is extending redbox and it is initialized correctly. In my extension this error fires as soon as the joinroom event is finished and the client calls getcliplist() function.
Any Ideas as to why I am getting this error? Also the extension has not been modified lately and was working fine up to about 1-2 weeks ago. The only change lately I have made is the upgrade to 2.3.0 of sfs2x however I am fairly sure it was doing this before that.
Thank you for any help you can provide in this matter.