]
Galder Zamarreño reassigned ISPN-4598:
--------------------------------------
Assignee: Galder Zamarreño (was: Tristan Tarrant)
ClientClusterEventsTest.testFilteringInCluster random failures
--------------------------------------------------------------
Key: ISPN-4598
URL:
https://issues.jboss.org/browse/ISPN-4598
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite - Server
Affects Versions: 7.0.0.Alpha5
Reporter: Dan Berindei
Assignee: Galder Zamarreño
Priority: Blocker
Labels: testsuite_stability
Fix For: 7.0.0.Beta1
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):
{noformat}
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)
{noformat}
Tristan realized that Scala doesn't execute field initializers when deserializing, so
the marshaller is left {{null}} and we get a NPE.