From 61c5a332b435dec0949a663bb6fdbcbbe66bb748 Mon Sep 17 00:00:00 2001 From: mposolda Date: Mon, 13 Nov 2017 17:10:29 +0100 Subject: [PATCH] KEYCLOAK-5832 Fix the issue with RemoveExpiredCommand exception on JDG side --- .../cluster/infinispan/InfinispanNotificationsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/infinispan/src/main/java/org/keycloak/cluster/infinispan/InfinispanNotificationsManager.java b/model/infinispan/src/main/java/org/keycloak/cluster/infinispan/InfinispanNotificationsManager.java index 4cd8cf13c0..d08f3b9899 100644 --- a/model/infinispan/src/main/java/org/keycloak/cluster/infinispan/InfinispanNotificationsManager.java +++ b/model/infinispan/src/main/java/org/keycloak/cluster/infinispan/InfinispanNotificationsManager.java @@ -215,7 +215,7 @@ public class InfinispanNotificationsManager { try { listenersExecutor.submit(() -> { - Object value = workCache.get(key); + Object value = remoteCache.get(key); eventReceived(key, (Serializable) value); });