Projects tigase _server server-core Issues #1275
NPE in BlockingCommand with empty JID (#1275)
wojciech.kapcia@tigase.net opened 3 years ago
[2021-08-27 14:35:20:297] [SEVERE  ] [urn:xmpp:blocking-proc-0 ] WorkerThread.run()             : tigase.server.xmppsession.SessionManager$ProcessorWorkerThread,(urn:xmpp:blocking-proc-0) Exception during packet processing: Packet=from=c2s@ip-172-31-0-99.us-west-2.compute.internal/172.22.0.2_5223_172.31.10.118_12760, to=sess-man@ip-172-31-0-99.us-west-2.compute.internal, DATA=<iq xmlns="jabber:client" id="16F9688F-8583-44E0-84D0-11DB8036FCE7" type="set" from="…@jabber.today/Monal-iOS.5b4ecc87"><block xmlns="urn:xmpp:blocking"><item jid=""/></block></iq>, SIZE=184, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=set, STABLE_ID=80290ea2-9efe-477d-b5bf-74c284efcda7, connection=XMPPResourceConnection=[user_jid=…@jabber.today/Monal-iOS.5b4ecc87, packets=54, connectioId=c2s@ip-172-31-0-99.us-west-2.compute.internal/172.22.0.2_5223_172.31.10.118_12760, domain=jabber.today, authState=AUTHORIZED, isAnon=false, isTmp=false, parentSession hash=1823468246, parentSession liveTime=127273]
java.lang.NullPointerException
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.LinkedList$LLSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
	at tigase.xmpp.impl.BlockingCommand.processSetBlock(BlockingCommand.java:186)
	at tigase.xmpp.impl.BlockingCommand.process(BlockingCommand.java:120)
	at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java:2656)
	at tigase.util.processing.WorkerThread.run(WorkerThread.java:67)
wojciech.kapcia@tigase.net commented 3 years ago

Payload:

<iq xmlns="jabber:client" id="16F9688F-8583-44E0-84D0-11DB8036FCE7" type="set"
    from="yuhao@jabber.today/Monal-iOS.5b4ecc87">
    <block xmlns="urn:xmpp:blocking">
        <item jid=""/>
    </block>
</iq>
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Spent time
1h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1275
Please wait...
Page is in error, reload to recover