getApi().joinRoom(user, room); not working second time
-
- Posts: 3
- Joined: 07 Mar 2013, 04:59
getApi().joinRoom(user, room); not working second time
Hi Every One We are developing Rummy game with SFS, Java, AmfPHP, Mysql. We introduced tournament feature for our clients. While i writing code getApi().joinRoom(user, room); not working for second level(second time) users. Please help me.
Re: getApi().joinRoom(user, room); not working second time
The joinRoom() method throws several exceptions, are you catching them?
Make sure to check the logs and see what kind of error you are getting, then let us know
Make sure to check the logs and see what kind of error you are getting, then let us know
-
- Posts: 3
- Joined: 07 Mar 2013, 04:59
Re: getApi().joinRoom(user, room); not working second time
I'm getting this error(please see attached file), when i execute getApi().joinRoom(user, room); second time(It working fine for first time). Please reply.
- Attachments
-
- JoinRoomApiError.JPG
- (118.79 KiB) Not downloaded yet
Re: getApi().joinRoom(user, room); not working second time
It is a NullPointerException happening in your disconnection handler. Check what's going on at line 58 of the specified class, evidently you are calling a method on an object that is null.
Return to “SFS2X Java / Android API”
Who is online
Users browsing this forum: No registered users and 11 guests