Projects tigase _server tigase-pubsub Issues #112
WARNING: Problem retrieving statistics: java.util.concurrent.CancellationException (#112)
Andrzej Wójcik (Tigase) opened 4 years ago

From tigase.im installation logs:

[2020-10-01 13:01:28:395] [WARNING ] [           stats-cache ] StatisticsProvider$StatisticsCache$1.run(): Problem retrieving statistics: 
java.util.concurrent.CancellationException
	at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2396)
	at tigase.pubsub.utils.LRUCacheWithFuture.putIfAbsent(LRUCacheWithFuture.java:113)
	at tigase.pubsub.repository.cached.CachedPubSubRepository.createNode(CachedPubSubRepository.java:152)
	at tigase.pubsub.modules.PublishItemModule.createPepNode(PublishItemModule.java:625)
	at tigase.pubsub.modules.PublishItemModule.publishItems(PublishItemModule.java:330)
	at tigase.pubsub.modules.PublishItemModule.process(PublishItemModule.java:295)
	at tigase.component.modules.StanzaProcessor.process(StanzaProcessor.java:164)
	at tigase.component.modules.StanzaProcessor.processPacket(StanzaProcessor.java:85)
	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:1397)
Andrzej Wójcik (Tigase) commented 4 years ago

The behaviour of cache is correct as it keeps instances of CompletableFuture, however values() method should process only values with properly completed futures.

Andrzej Wójcik (Tigase) commented 4 years ago

The issue should be fixed with recent changes in the PubSub.

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