[infinispan-issues] [JBoss JIRA] (ISPN-4598) ClientClusterEventsTest.testFilteringInCluster random failures

Tristan Tarrant (JIRA) issues at jboss.org
Sat Aug 2 18:06:29 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990005#comment-12990005 ] 

Tristan Tarrant commented on ISPN-4598:
---------------------------------------

BinaryFilter needs an externalizer

> 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: Tristan Tarrant
>            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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list