Description

Liferay gets the chat's resource and expects it to be in the form "x@x/x" but with certain XMPP chat servers, the resource does not contain the final slash. In this case, the resource is set to null and Liferay throws a null pointer exception.