Projects tigase _server server-core Issues #1226
NPE in MessageDeliveryLogic.handleDelivery (#1226)
wojciech.kapcia@tigase.net opened 4 years ago
[2020-12-03 15:05:21:175] [SEVERE  ] [            amp-proc-1 ] WorkerThread.run()               : tigase.server.xmppsession.SessionManager$ProcessorWorkerThread,(amp-proc-1) Exception during packet processing: from=null, to=sess-man@ip-10-0-17-209.us-west-2.compute.internal, DATA=<message to="l…8@tigase.im/iPhone" xmlns="jabber:client"><result id="5c494af4-ec03-40be-9b5f-9587cc3804ba" queryid="AF326179-7659-4483-B8DA-9F84AAAE536B" xmlns="urn:xmpp:mam:2"><forwarded xmlns="urn:xmpp:forward:0"><delay xmlns="urn:xmpp:delay" stamp="2020-12-03T13:33:52.169Z"/><message to="n…1@404.city" type="chat" id="8429821E-B572-41E5-8124-F3948034B542" xmlns="jabber:client" from="l…8@tigase.im/iPhone"><body>CData size: 25</body><active xmlns="http://jabber.org/protocol/chatstates"/><request xmlns="urn:xmpp:receipts"/></message></forwarded></result><delay from="tigase.im" stamp="2020-12-03T15:03:26.809Z" xmlns="urn:xmpp:delay"/><delivery-error xmlns="http://tigase.org/delivery-error" stamp="1607007806809"/></message>, SIZE=761, XMLNS=jabber:client, PRIORITY=HIGH, PERMISSION=AUTH, TYPE=null, STABLE_ID=62852783-08bc-478b-9efc-ab9090222dab
java.lang.NullPointerException
	at tigase.xmpp.impl.MessageDeliveryLogic.handleDelivery(MessageDeliveryLogic.java:118)
	at tigase.xmpp.impl.MessageAmp.process(MessageAmp.java:259)
	at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java:2646)
	at tigase.util.processing.WorkerThread.run(WorkerThread.java:67)
wojciech.kapcia@tigase.net commented 4 years ago

Most likely concurrency issue and missing parent session. Added more detailed debug and made possible fix.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Spent time
2h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1226
Please wait...
Page is in error, reload to recover