[SFS 1.6.7] ClassCastException when using getAllUsersButOne

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
christophe.feerik
Posts: 19
Joined: 26 May 2009, 13:39
Location: Montpellier, France

[SFS 1.6.7] ClassCastException when using getAllUsersButOne

Post by christophe.feerik »

Hello guys,

With SmartFox Server 1.6.7 downloaded yesterday, on a call to Room.getAllUsersButOne() with a valid user object, an exception has been thrown.

Here is the stack trace :

System.err | java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lit.gotoandplay.smartfoxserver.data.User;
at it.gotoandplay.smartfoxserver.data.Room.getAllUsersButOne(Room.java:637)
at it.gotoandplay.smartfoxserver.data.Room.getAllUsersButOne(Room.java:591)
at feerik.Eredan.WaittingHub.handleRequest(WaittingHub.java:180)
at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.processEvent(ExtensionHandler.java:535)
at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.run(ExtensionHandler.java:344)
at java.lang.Thread.run(Unknown Source)

This exception did not occur with SFS 1.6.6

Thanks
Christophe
Producer - Feerik
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Hi,
this is already solved and we're ready to ship an update in the next days.
If you need a pre-release just contact us directly.
Thank you
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

UPDATE:
Patch 1.6.8 is available for download here: http://www.smartfoxserver.com/products/ ... d.php?d=89

Release notes:
http://www.smartfoxserver.com/products/ ... 1_6_8.html

Installation notes:
included in the zip package.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply