Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property iterator not found on haxe.ds.IntMap #3

Closed
rewb0rn opened this issue Aug 16, 2017 · 2 comments
Closed

Property iterator not found on haxe.ds.IntMap #3

rewb0rn opened this issue Aug 16, 2017 · 2 comments

Comments

@rewb0rn
Copy link

rewb0rn commented Aug 16, 2017

Hello,

we are seeing this exception when trying to use the SFS2X Haxe API. Is this a known issue, maybe an incompatibility to the latest Haxe version?

Thanks in advance,
Ruben

`[Fault] exception, information=ReferenceError: Error #1069: Property iterator not found on haxe.ds.IntMap and there is no default value.

Lambda$/array at C:\HaxeToolkit\haxe\std\Lambda.hx:46
com.smartfoxserver.v2.entities.managers::SFSUserManager/getUserList at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\entities\managers\SFSUserManager.as:120
com.smartfoxserver.v2.entities::SFSRoom/get userList at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\entities\SFSRoom.as:359
com.smartfoxserver.v2.controllers::SystemController/fnRoomLost at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\controllers\SystemController.as:389
com.smartfoxserver.v2.controllers::SystemController/handleMessage at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\controllers\SystemController.as:139
com.smartfoxserver.v2.core::SFSProtocolCodec/dispatchRequest at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\core\SFSProtocolCodec.as:150
com.smartfoxserver.v2.core::SFSProtocolCodec/onPacketRead at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\core\SFSProtocolCodec.as:54
com.smartfoxserver.v2.core::SFSIOHandler/handlePacketData at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\core\SFSIOHandler.as:252
com.smartfoxserver.v2.core::SFSIOHandler/onDataRead at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\core\SFSIOHandler.as:111
com.smartfoxserver.v2.bitswarm::BitSwarmClient/onSocketData at O:\wd\SFS2X_AS3_API_source\src\com\smartfoxserver\v2\bitswarm\BitSwarmClient.as:454`

@boorik
Copy link
Owner

boorik commented Aug 16, 2017

Hi,
this is a bit weird, I can see in your logs that it use the as3 version of the api : "SFS2X_AS3_API_source\src\com\smartfoxserver\v2\entities\managers\SFSUserManager.as:120"
Can you provide a sample of code that create the exception and the ouput of "haxelib list" command.
Thanks

@rewb0rn
Copy link
Author

rewb0rn commented Aug 16, 2017

Ah thanks for pointing that out, I completely mixed your library with the one that is listed on haxelib as sfs2x-api. I installed your library now via haxelib git smartfox-haxe-client https://github.com/boorik/smartfox-haxe-client and it works! Thank you! :)

@rewb0rn rewb0rn closed this as completed Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants