MissingExtensionException occurs sometimes, where...

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Vishwas
Posts: 81
Joined: 25 Dec 2008, 22:06

MissingExtensionException occurs sometimes, where...

Postby Vishwas » 12 May 2010, 02:55

It happens unpredictably... ie. sometimes. Where should i start finding the problem ?

2010/05/11 21:26:56.665 - [ WARNING ] [id: 288] (ExtensionHandler.processEvent): it.gotoandplay.smartfoxserver.exceptions.MissingExtensionException: Unrecognized extension name: [ t ]! Zone: territoryWarZone, Room: 6176

thnx.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 12 May 2010, 15:59

It's been reported several times with Extensions at Room Level, although it's not reproducible. We think that this problem could happen when Rooms are created dynamically and an Extension is attached "on the fly".

If an extension request arrives to the Room Extension before it is initialized it could cause this error.

Do you create the dynamic Room from client or server?
Lapo
--
gotoAndPlay()
...addicted to flash games
Vishwas
Posts: 81
Joined: 25 Dec 2008, 22:06

Postby Vishwas » 13 May 2010, 09:53

Lapo wrote:It's been reported several times with Extensions at Room Level, although it's not reproducible. We think that this problem could happen when Rooms are created dynamically and an Extension is attached "on the fly".

If an extension request arrives to the Room Extension before it is initialized it could cause this error.

Do you create the dynamic Room from client or server?


yeah, game rooms are dynamic in our case.

But , what you mean by extension request ? How is it requested before extension is intialized ? Through sendXtMessage ?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 13 May 2010, 12:11

Yes, correct.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
mistermind
Posts: 131
Joined: 15 Sep 2007, 01:33
Contact:

Postby mistermind » 28 Sep 2010, 04:24

Humm I actually have this happening to my server (the most popular warning from the server actually) by creating a room and attaching the xtClass to it from the server itself:

Code: Select all

var roomObj = new Object();
roomObj.name = roomName;
roomObj.isGame = true;
roomObj.maxU = 2;
roomObj.xtName = "gameStats";
roomObj.xtClass = "gameStats.as";
var gameRoom = _server.createRoom(roomObj, user, true, false);


Is there a better way to attach an extension other then this?
SELECT * FROM users WHERE clue > 0
0 rows returned.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 29 Sep 2010, 12:55

No, that's the only way.
I suspect there's something else going on, but we would require more data to understand it.
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 28 guests