-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.Alpha5
The fix for ISPN-4378 introduced a random failure in ClientClusterEventsTest.testFilteringInCluster. It happened in a few PR builds in CI, and I'm getting it almost every time on my machine (with trace logging enabled):
2014-08-01 17:16:57,084 ERROR (remote-thread-ClientClusterEventsTest-NodeB-p757-t6) [InvocationContextInterceptor] ISPN000136: Execution error java.lang.NullPointerException at org.infinispan.server.hotrod.ClientListenerRegistry$BinaryFilter.accept(ClientListenerRegistry.scala:178) at org.infinispan.server.hotrod.ClientListenerRegistry$BinaryFilter.accept(ClientListenerRegistry.scala:172) at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.shouldInvoke(CacheNotifierImpl.java:978) at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:943) at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryCreated(CacheNotifierImpl.java:247) at org.infinispan.container.EntryFactoryImpl.newMvccEntryForPut(EntryFactoryImpl.java:272) at org.infinispan.container.EntryFactoryImpl.wrapEntryForPut(EntryFactoryImpl.java:204) at org.infinispan.interceptors.EntryWrappingInterceptor.wrapEntryForPutIfNeeded(EntryWrappingInterceptor.java:182) at org.infinispan.interceptors.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:176)
Tristan realized that Scala doesn't execute field initializers when deserializing, so the marshaller is left null and we get a NPE.