Projects tigase _server tigase-pubsub Issues #128
PatternSyntaxException for users with emoticons in resource (#128)
Closed
wojciech.kapcia@tigase.net opened 3 years ago
[2021-09-02 09:49:09:041] [SEVERE  ] [        out_15-cl-comp ] AbstractMessageReceiver$QueueListener.run(): [out_15-cl-comp] Exception during packet processing: from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<cluster type="set" id="cl-370908" to="pubsub@ip-172-31-0-99.us-west-2.compute.internal" from="pubsub@ip-172-31-20-109.us-west-2.compute.internal" xmlns="tigase:cluster" pr="HIGH"><control><visited-nodes><node-id>pubsub@ip-172-31-20-109.us-west-2.compute.internal</node-id><node-id>pubsub@ip-172-31-0-99.us-west-2.compute.internal</node-id></visited-nodes><method-call name="pubsub-nodes-changed-cmd"><par name="userId">156298</par></method-call><first-node>pubsub@ip-172-31-20-109.us-west-2.compute.internal</first-node></control><data><caps-removed-cmd jid="…@…/Ubuntu :)" service-jid="delmar@tigase.im"/></data></cluster>, SIZE=642, XMLNS=tigase:cluster, PRIORITY=HIGH, PERMISSION=NONE, TYPE=set, STABLE_ID=null
java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 7
Ubuntu :)
       ^
	at java.base/java.util.regex.Pattern.error(Unknown Source)
	at java.base/java.util.regex.Pattern.compile(Unknown Source)
	at java.base/java.util.regex.Pattern.<init>(Unknown Source)
	at java.base/java.util.regex.Pattern.compile(Unknown Source)
	at java.base/java.util.regex.Pattern.matches(Unknown Source)
	at java.base/java.lang.String.matches(Unknown Source)
	at tigase.pubsub.repository.PresenceCollectorRepository$UserEntry.remove(PresenceCollectorRepository.java:235)
	at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.lambda$remove$2(PresenceCollectorRepository.java:168)
	at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.synchronizeOnUserJID(PresenceCollectorRepository.java:191)
	at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.remove(PresenceCollectorRepository.java:158)
	at tigase.pubsub.repository.PresenceCollectorRepository.remove(PresenceCollectorRepository.java:121)
	at tigase.pubsub.cluster.PresenceCollectorRepositoryClustered.removeNoEvent(SourceFile:45)
	at tigase.pubsub.cluster.commands.NodesChangedCommand.executeAction(SourceFile:103)
	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:1418)
wojciech.kapcia@tigase.net commented 3 years ago

Complete payload:

[2021-09-02 09:49:09:041] [SEVERE  ] [        out_15-cl-comp ] AbstractMessageReceiver$QueueListener.run(): [out_15-cl-comp] Exception during packet processing: from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<cluster type="set" id="cl-370908" to="pubsub@ip-172-31-0-99.us-west-2.compute.internal" from="pubsub@ip-172-31-20-109.us-west-2.compute.internal" xmlns="tigase:cluster" pr="HIGH"><control><visited-nodes><node-id>pubsub@ip-172-31-20-109.us-west-2.compute.internal</node-id><node-id>pubsub@ip-172-31-0-99.us-west-2.compute.internal</node-id></visited-nodes><method-call name="pubsub-nodes-changed-cmd"><par name="userId">156298</par></method-call><first-node>pubsub@ip-172-31-20-109.us-west-2.compute.internal</first-node></control><data><caps-removed-cmd jid="spm_echo4@xmpp.org.uk/Ubuntu :)" service-jid="delmar@tigase.im"/></data></cluster>, SIZE=642, XMLNS=tigase:cluster, PRIORITY=HIGH, PERMISSION=NONE, TYPE=set, STABLE_ID=null
java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 7
Ubuntu :)
       ^
	at java.base/java.util.regex.Pattern.error(Unknown Source)
	at java.base/java.util.regex.Pattern.compile(Unknown Source)
	at java.base/java.util.regex.Pattern.<init>(Unknown Source)
	at java.base/java.util.regex.Pattern.compile(Unknown Source)
	at java.base/java.util.regex.Pattern.matches(Unknown Source)
	at java.base/java.lang.String.matches(Unknown Source)
	at tigase.pubsub.repository.PresenceCollectorRepository$UserEntry.remove(PresenceCollectorRepository.java:235)
	at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.lambda$remove$2(PresenceCollectorRepository.java:168)
	at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.synchronizeOnUserJID(PresenceCollectorRepository.java:191)
	at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.remove(PresenceCollectorRepository.java:158)
	at tigase.pubsub.repository.PresenceCollectorRepository.remove(PresenceCollectorRepository.java:121)
	at tigase.pubsub.cluster.PresenceCollectorRepositoryClustered.removeNoEvent(SourceFile:45)
	at tigase.pubsub.cluster.commands.NodesChangedCommand.executeAction(SourceFile:103)
	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:1418)
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-pubsub#128
Please wait...
Page is in error, reload to recover