SFSExtensionException: No extensions can be invoked: causes?

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

Moderators: Lapo, Bax

PaulNorton
Posts: 1
Joined: 07 May 2012, 23:05

SFSExtensionException: No extensions can be invoked: causes?

Postby PaulNorton » 07 May 2012, 23:45

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
User avatar
Lapo
Site Admin
Posts: 21597
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFSExtensionException: No extensions can be invoked: cau

Postby Lapo » 08 May 2012, 13:29

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
Lapo
--
gotoAndPlay()
...addicted to flash games
wallis2xk
Posts: 43
Joined: 01 Sep 2006, 10:00
Location: United Kingdom

Re: SFSExtensionException: No extensions can be invoked: cau

Postby wallis2xk » 20 Jun 2012, 11:05

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
wallis2xk
Posts: 43
Joined: 01 Sep 2006, 10:00
Location: United Kingdom

Re: SFSExtensionException: No extensions can be invoked: cau

Postby wallis2xk » 25 Jun 2012, 11:43

Little bump - is this nothing to worry about? Is there any way to try and figure out as to what might be happening?

Thanks
User avatar
Lapo
Site Admin
Posts: 21597
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SFSExtensionException: No extensions can be invoked: cau

Postby Lapo » 27 Jun 2012, 16:36

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!
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 26 guests