Hi, sometime I get the following error in the server log file and then almost any other room creation fail on the server side (with the same message). The only way to resolve this is to restart the server.
[ WARNING ] [id: 11] (ExtensionHelper.createRoom): Exception while creating room from the server side: java.lang.NullPointerException
Do you have any clue about this error and the way to avoid it?
Thanks!
creating room from the server side: java.lang.NullPointerExc
It may happen if one of the passed arguments is null. For example the User object, which might become null if the user is disconnected while the request is being processed.
It sounds a little odd that you can't create any more rooms after that, unless you're still passing a null object to the method.
I'd suggest that you log the params that you send to the method each time, just to monitor which one could be the culprit
It sounds a little odd that you can't create any more rooms after that, unless you're still passing a null object to the method.
I'd suggest that you log the params that you send to the method each time, just to monitor which one could be the culprit