[infinispan-issues] [JBoss JIRA] (ISPN-5100) Failover without @ClientCacheFailover fails with NPE in Hot Rod client

Dan Berindei (JIRA) issues at jboss.org
Thu Jan 15 08:27:49 EST 2015


     [ https://issues.jboss.org/browse/ISPN-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-5100:
-------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> Failover without @ClientCacheFailover fails with NPE in Hot Rod client
> ----------------------------------------------------------------------
>
>                 Key: ISPN-5100
>                 URL: https://issues.jboss.org/browse/ISPN-5100
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Protocols
>    Affects Versions: 7.0.2.Final, 7.1.0.Alpha1
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 7.1.0.CR1, 7.1.0.Final
>
>
> Hot Rod client raises a NullPointerException if a failover happens but the client listener has no @ClientCacheFailover callbacks defined.
> {code}
> java.lang.NullPointerException
> 	at org.infinispan.client.hotrod.event.ClientListenerNotifier.invokeFailoverEvent(ClientListenerNotifier.java:108)
> 	at org.infinispan.client.hotrod.event.ClientListenerNotifier.failoverClientListeners(ClientListenerNotifier.java:94)
> 	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.updateServers(TcpTransportFactory.java:330)
> 	at org.infinispan.client.hotrod.impl.protocol.Codec20.readNewTopologyAndHash(Codec20.java:390)
> 	at org.infinispan.client.hotrod.impl.protocol.Codec20.readNewTopologyIfPresent(Codec20.java:357)
> 	at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:104)
> 	at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:97)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the infinispan-issues mailing list