Projects tigase _server tigase-pubsub Issues #127
NPE in UserEntry.remove (#127)
wojciech.kapcia@tigase.net opened 3 years ago
[2021-08-10 18:03:47.777] [ERROR] [         in_2-pubsub] t.c.m.StanzaProcessor.processPacket(): Cannot invoke "String.isEmpty()" because "this.pattern" is null when processing from=sess-man@ip-172-31-2-168.us-west-2.compute.internal, to=pubsub@ip-172-31-2-168.us-west-2.compute.internal, DATA=<presence to="wojtek@…" type="unavailable" from="…@…" xmlns="jabber:client"><delay stamp="2021-08-10T16:04:02Z" from="…" xmlns="urn:xmpp:delay"/></presence>, SIZE=188, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=ADMIN, TYPE=unavailable, STABLE_ID=null
java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because "this.pattern" is null
        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:229)
        at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.lambda$remove$2(PresenceCollectorRepository.java:163)
        at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.synchronizeOnUserJID(PresenceCollectorRepository.java:185)
        at tigase.pubsub.repository.PresenceCollectorRepository$ServiceEntry.remove(PresenceCollectorRepository.java:158)
        at tigase.pubsub.repository.PresenceCollectorRepository.remove(PresenceCollectorRepository.java:121)
        at tigase.pubsub.cluster.PresenceCollectorRepositoryClustered.remove(SourceFile:41)
        at tigase.pubsub.modules.PresenceCollectorModule.removeJid(PresenceCollectorModule.java:213)
        at tigase.pubsub.modules.PresenceCollectorModule.process(PresenceCollectorModule.java:164)
        at tigase.component.modules.StanzaProcessor.execute(StanzaProcessor.java:214)
        at tigase.component.modules.StanzaProcessor.process(StanzaProcessor.java:201)
        at tigase.component.modules.StanzaProcessor.processPacket(StanzaProcessor.java:103)
        at tigase.component.AbstractKernelBasedComponent.processPacket(AbstractKernelBasedComponent.java:81)
        at tigase.pubsub.PubSubComponent.processPacket(PubSubComponent.java:191)
        at tigase.pubsub.cluster.PubSubComponentClustered.processPacket(SourceFile:183)
        at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1398)
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-pubsub#127
Please wait...
Page is in error, reload to recover