We are trying to update to the new version. All works as expected except for this null pointer.
Code: Select all
java.lang.NullPointerException
at com.smartfoxserver.v2.api.response.SFSResponseApi.notifyUserVariablesUpdate(SFSResponseApi.java:492)
at com.smartfoxserver.v2.api.SFSApi.fireUserVariablesEvent(SFSApi.java:1702)
at com.smartfoxserver.v2.api.SFSApi.setUserVariables(SFSApi.java:1594)
at com.smartfoxserver.v2.api.SFSApi.setUserVariables(SFSApi.java:1583)
Debugging we think that the problem is when a user change his variables in a room flagged with USER_VARIABLES_UPDATE_EVENT as false the NullPointer is throw
Code: Select all
Removed
I hope this information helps you, if you need any thing more do not hesitate to ask.
Regards