vendredi 27 novembre 2015

Playerio listRooms() issue (as3 client)

Using PlayerIO for my first time, so maybe I've done an obvious mistake, but I realy don't understand what it could be.

On listRoom's callback there is unhandled error, causing crash.

code:

client.multiplayer.listRooms(gameType, {}, limit, offset, onLoaded, errorHandler);

gameType - is valid, callbacks are not null.

Error is hidden in swc, so it is difficult to analyse it.

Stack:

Function/<anonymous> at C:\builddir\Client Libraries\ActionScript 3\PlayerIOClient\src\playerio\generated\Multiplayer.as:58
Function/<anonymous> at C:\builddir\Client Libraries\ActionScript 3\PlayerIOClient\src\playerio\utils\HTTPChannel.as:54
flash.events::EventDispatcher/dispatchEventFunction
flash.events::EventDispatcher/dispatchEvent
flash.net::URLLoader/onComplete

Output: [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.

Thanks for any help and sorry for my English

Aucun commentaire:

Enregistrer un commentaire