Currently if presence stanza doesn’t contain then smack when parsing priority field will set it to Integer.MIN_VALUE.
According to https://tools.ietf.org/html/rfc6121#section-4.7.2.3 :
If no priority is provided, the processing server or client MUST consider the priority to be zero (“0”).
Solution will be: if there is no priority - set it to 0.