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

Galder Zamarreño (JIRA) issues at jboss.org
Thu Dec 18 06:50:29 EST 2014


Galder Zamarreño created ISPN-5100:
--------------------------------------

             Summary: 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.1.0.Alpha1, 7.0.2.Final
            Reporter: Galder Zamarreño
            Assignee: Galder Zamarreño
             Fix For: 7.1.0.Beta1, 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