Projects tigase _server server-core Issues #1044
Weird NPE in Dialback (via cluster) (#1044)
wojciech.kapcia@tigase.net opened 5 years ago

There are a couple of NPEs in the logs that goes after cl-conn manager:

2019-06-10 14:23:32.895 [in_11-cl-comp]    ClusterConnectionManager.writePacketToSocket()  WARNING: No cluster connection to send a packet: from=null, to=null, DATA=<cluster id="cl-1603147" pr="HIGH" to="sess-man@ip-10-0-0-110.us-west-2.compute.internal" xmlns="tigase:cluster" type="set" from="sess-man@ip-10-0-26-182.us-west-2.compute.internal"><control><visited-nodes><node-id>CData size: 50</node-id></visited-nodes><method-call name="sess-man-packet-forward-sm-cmd"/><first-node>CData size: 50</first-node></control><data><iq id="disco" to="sml@pandion.im/Psi+" xmlns="jabber:client" type="get" from="sup_bitbyte@xmpp.is"><query xmlns="http://jabber.org/protocol/disco#info" node="http://psi-dev.googlecode.com/caps#0.16"/></iq></data></cluster>, SIZE=657, XMLNS=tigase:cluster, PRIORITY=HIGH, PERMISSION=NONE, TYPE=set
java.lang.NullPointerException
        at tigase.util.Algorithms.generateDialbackKey(Algorithms.java:138)
        at tigase.server.xmppserver.proc.Dialback.initDialback(Dialback.java:247)
        at tigase.server.xmppserver.proc.Dialback.streamOpened(Dialback.java:203)
        at tigase.server.xmppserver.S2SConnectionManager.xmppStreamOpened(S2SConnectionManager.java:477)
        at tigase.server.xmppserver.S2SConnectionManager.xmppStreamOpened(S2SConnectionManager.java:52)
        at tigase.xmpp.XMPPIOService.xmppStreamOpened(XMPPIOService.java:582)
        at tigase.xmpp.XMPPDomBuilderHandler.startElement(XMPPDomBuilderHandler.java:242)
        at tigase.xml.SimpleParser.parse(SimpleParser.java:288)
        at tigase.xmpp.XMPPIOService.processSocketData(XMPPIOService.java:486)
        at tigase.net.IOService.call(IOService.java:183)
        at tigase.xmpp.XMPPIOService.call(XMPPIOService.java:145)
        at tigase.xmpp.XMPPIOService.call(XMPPIOService.java:50)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)


2019-06-10 14:43:54.840 [in_1-cl-comp]     ClusterConnectionManager.writePacketToSocket()  WARNING: No cluster connection to send a packet: from=null, to=null, DATA=<cluster id="cl-1603470" pr="HIGH" to="pubsub@ip-10-0-0-110.us-west-2.compute.internal" xmlns="tigase:cluster" type="set" from="pubsub@ip-10-0-26-182.us-west-2.compute.internal"><control><visited-nodes><node-id>CData size: 48</node-id></visited-nodes><method-call name="pubsub-packet-forward-pubsub-cmd"><par name="perm">CData size: 4</par></method-call><first-node>CData size: 48</first-node></control><data><presence to="digital.advert219@tigase.im" xmlns="jabber:client" type="unavailable" from="frwwbot@jabber.ccc.de/12514497263402141697463746"/></data></cluster>, SIZE=626, XMLNS=tigase:cluster, PRIORITY=HIGH, PERMISSION=NONE, TYPE=set
java.lang.NullPointerException
        at tigase.util.Algorithms.generateDialbackKey(Algorithms.java:138)
        at tigase.server.xmppserver.proc.Dialback.initDialback(Dialback.java:247)
        at tigase.server.xmppserver.proc.Dialback.streamOpened(Dialback.java:203)
        at tigase.server.xmppserver.S2SConnectionManager.xmppStreamOpened(S2SConnectionManager.java:477)
        at tigase.server.xmppserver.S2SConnectionManager.xmppStreamOpened(S2SConnectionManager.java:52)
        at tigase.xmpp.XMPPIOService.xmppStreamOpened(XMPPIOService.java:582)
        at tigase.xmpp.XMPPDomBuilderHandler.startElement(XMPPDomBuilderHandler.java:242)
        at tigase.xml.SimpleParser.parse(SimpleParser.java:288)
        at tigase.xmpp.XMPPIOService.processSocketData(XMPPIOService.java:486)
        at tigase.net.IOService.call(IOService.java:183)
        at tigase.xmpp.XMPPIOService.call(XMPPIOService.java:145)
        at tigase.xmpp.XMPPIOService.call(XMPPIOService.java:50)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

What do you think?

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