Projects tigase _server server-core Issues #295
offline-roster-last-seen causes NPE in Presence plugin when connecting using Tigase Mobile Messenger (#295)
Andrzej Wójcik (Tigase) opened 1 decade ago

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)
Artur Hefczyc commented 1 decade ago

Applied in changeset tigase-server|commit:66758de224fc35050799e6c49ff1f50e07354af1.

Artur Hefczyc commented 1 decade ago

The fix was applied to 5.3.0 (master) branch only.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
1779
Version
tigase-server-7.0.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#295
Please wait...
Page is in error, reload to recover