Projects tigase _server tigase-mix Issues #28
NPE in `Affiliations.getSubscriberAffiliation` (#28)
wojciech.kapcia@tigase.net opened 4 years ago
[2021-05-18 14:39:28:078] [SEVERE  ] [        out_12-cl-comp ] AbstractMessageReceiver$QueueListener.run(): [out_12-cl-comp] Exception during packet processing: from=null, to=null, DATA=<cluster to="mix@ip-172-31-19-108.us-west-2.compute.internal" id="cl-10645" pr="HIGH" xmlns="tigase:cluster" from="mix@ip-172-31-2-168.us-west-2.compute.internal" type="set"><control><visited-nodes><node-id>mix@ip-172-31-2-168.us-west-2.compute.internal</node-id></visited-nodes><method-call name="mix-nodes-changed-cmd"><par name="userId">73</par></method-call><first-node>mix@ip-172-31-2-168.us-west-2.compute.internal</first-node></control><data><broadcast-notification service-jid="9fda801d-e166-472a-9198-b5c985342115@mix.tigase.org" node="urn:xmpp:mix:nodes:participants" priority="normal"><message id="1" xmlns="jabber:client" from="9fda801d-e166-472a-9198-b5c985342115@mix.tigase.org"><event xmlns="http://jabber.org/protocol/pubsub#event"><delete node="urn:xmpp:mix:nodes:participants"/></event></message></broadcast-notification><broadcast-notification service-jid="9fda801d-e166-472a-9198-b5c985342115@mix.tigase.org" node="urn:xmpp:mix:nodes:config" priority="normal"><message id="2" xmlns="jabber:client" from=" ... , SIZE=3243, XMLNS=tigase:cluster, PRIORITY=HIGH, PERMISSION=NONE, TYPE=set, STABLE_ID=null
java.lang.NullPointerException
	at tigase.mix.Affiliations.getSubscriberAffiliation(Affiliations.java:161)
	at tigase.pubsub.utils.DefaultPubSubLogic.lambda$getActiveSubscribers$3(DefaultPubSubLogic.java:371)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.base/java.util.HashMap$KeySpliterator.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.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at tigase.pubsub.NotificationBroadcaster.broadcastNotification(NotificationBroadcaster.java:44)
	at tigase.pubsub.cluster.NotificationBroadcasterClustered.broadcastNotificationLocally(SourceFile:35)
	at tigase.pubsub.cluster.commands.NodesChangedCommand.executeAction(SourceFile:158)
	at tigase.mix.cluster.commands.NodesChangedCommand.executeAction(SourceFile:58)
	at tigase.pubsub.cluster.commands.NodesChangedCommand.executeCommand(SourceFile:80)
	at tigase.cluster.ClusterController.handleClusterPacket(ClusterController.java:107)
	at tigase.cluster.ClusterConnectionManager.processOutPacket(ClusterConnectionManager.java:375)
	at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1424)
Andrzej Wójcik (Tigase) commented 4 years ago

I moved the bug to MIX as it happens only in ACS but is a bug in the MIX.

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