-
Bug
-
Resolution: Done
-
Major
-
10.0.0.Final
-
None
This was observed in the Spark connector test suite, that internally relies on a listener with the KeyValueVersionConverter:
18:19:30,559 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (SINGLE_PORT-ServerIO-5-2) ISPN000136: Error executing command PutMapCommand on Cache 'default', writing keys [WrappedByteArray{bytes=03\L1082\UF1B317D005, hashCode=2062121617}, WrappedByteArray{bytes=03\L1082\UF1B214F000, hashCode=2062089930}, WrappedByteArray{bytes=03\L1082\UF1B214E000, hashCode=2062089434}, WrappedByteArray{bytes=03\L1082\UF1B4\T1001, hashCode=2062212009}, WrappedByteArray{bytes=03\L1082\UF1B3D69001, hashCode=2062057164}]: java.lang.NullPointerException at org.infinispan.server.hotrod.KeyValueVersionConverter.convert(KeyValueVersionConverter.java:41) at org.infinispan.server.hotrod.KeyValueVersionConverter.convert(KeyValueVersionConverter.java:16) at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.convertValue(CacheNotifierImpl.java:1977) at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1834) at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1818) at org.infinispan.notifications.cachelistener.CacheNotifierImpl.doNotifyModified(CacheNotifierImpl.java:450) at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryModified(CacheNotifierImpl.java:432) at org.infinispan.notifications.cachelistener.NotifyHelper.entryCommitted(NotifyHelper.java:70) at org.infinispan.interceptors.locking.ClusteringDependentLogic$DistributionLogic.lambda$commitSingleEntry$0(ClusteringDependentLogic.java:648) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143) at org.infinispan.interceptors.locking.ClusteringDependentLogic$DistributionLogic.commitSingleEntry(ClusteringDependentLogic.java:648) at org.infinispan.interceptors.locking.ClusteringDependentLogic$AbstractClusteringDependentLogic.commitEntry(ClusteringDependentLogic.java:230) at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitContextEntry(EntryWrappingInterceptor.java:599) at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitEntryIfNeeded(EntryWrappingInterceptor.java:842)