Page 1 of 1

SFSExtensionException: No extensions can be invoked: causes?

Posted: 07 May 2012, 23:45
by PaulNorton
Hi,

So, we're seeing a problem that creeps up during load testing & I'm wondering if someone has a suggestion as to what might be going wrong & how to find the problem.
We don't seem to see the issue until we're 90 minutes into load testing, but here's the exception.

Code: Select all

05 May 2012 | 01:36:12,882 | WARN  | com.smartfoxserver.v2.controllers.ExtensionController-5 | v2.controllers.ExtensionController |     |
com.smartfoxserver.v2.exceptions.SFSExtensionException: No extensions can be invoked: { Zone: GameServerZone }, RoomId: 7574
    com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:120)
    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)


Where should I start? We have both extensions for both the Zone and for the Rooms, so I'm inclined to look at the room first, since there's many more instances of that then the zone & the exception does give a RoomId. Beyond that, I'm not sure what I'm even looking for.

Paul

Re: SFSExtensionException: No extensions can be invoked: cau

Posted: 08 May 2012, 13:29
by Lapo
Sounds like you are trying to call a Room Extension which is not there.
Are you sure it really exists? If the Room still exists you can track it down in the AdminTool via its ID, which is reported in the error itself.

Also, please always specify which version of SFS2X is in use.
Thanks

Re: SFSExtensionException: No extensions can be invoked: cau

Posted: 20 Jun 2012, 11:05
by wallis2xk
Hi,

I seem to having this issue too. It's a live game which is getting around 200-300 concurrent users which is a fairly simple setup of a single zone extension which creates game rooms with a extension when it needs to, every 5 seconds or so. It all seems to be working fine, lots of gamez are successfully being created with the correct extension but this same "No extensions can be invoked" error is cropping up relatively frequently in the logs, every few minutes and I'm not sure what could causing it? We're using 2.1.0,

Cheers

Re: SFSExtensionException: No extensions can be invoked: cau

Posted: 25 Jun 2012, 11:43
by wallis2xk
Little bump - is this nothing to worry about? Is there any way to try and figure out as to what might be happening?

Thanks

Re: SFSExtensionException: No extensions can be invoked: cau

Posted: 27 Jun 2012, 16:36
by Lapo
When you call an Extension attached to a Room you need to pass the id of that Room.
Maybe A User is not sending the proper ID, maybe because a join failed? Or something like that. Make sure that those extension calls cannot be done if the user failed to enter the game.

Also, make sure you don't have other errors in the logs, such as problems starting the extension or join errors. Those could correlate with the error you have reported.

Finally make sure to run the latest update, which atm is version 2.1.0
Thanks!