powered by Jive Software

NullPointerException in Roster.getPresencesInternal()


#1

Hello
We are getting few crashes in smack. The problem comes from server sending incorrect “from” field
in Presence stanza.
Analysis of the problem is here:
https://stackoverflow.com/questions/53006622/smack-throws-nullpointerexception-in-rosters-presence-listener
But it can be avoided with simple null check
Could smack team put check for null passed to getPresencesInternal() method please
Thank you