When in etc/init.properties is following line:
sess-man/plugins-conf/presence/offline-roster-last-seen=psi,gajim
and we are connecting using Tigase Mobile Messenger it causes NPE:
<presence id="Vpdmb" from="ania@hi-low.eu/Tigase Messenger" xmlns="jabber:client"><priority>5</priority><nick xmlns="http://jabber.org/protocol/nick"/><c node="http://tigase.org/messenger" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="rDuXiBNtbJZiq/8vW/qgY+U7OKA="/></presence>, SIZE=289, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=NONE, TYPE=null java.lang.ArrayIndexOutOfBoundsException: 2 at tigase.xmpp.impl.Presence.sendRosterOfflinePresence(Presence.java:1710) at tigase.xmpp.impl.Presence.processOutInitial(Presence.java:1488) at tigase.xmpp.impl.Presence.process(Presence.java:415) at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java:2689) at tigase.util.WorkerThread.run(WorkerThread.java:132)
Applied in changeset tigase-server|commit:66758de224fc35050799e6c49ff1f50e07354af1.
The fix was applied to 5.3.0 (master) branch only.
When in etc/init.properties is following line:
and we are connecting using Tigase Mobile Messenger it causes NPE: