-
Bug
-
Resolution: Done
-
Major
-
7.0.2.Final, 7.1.0.Alpha1
-
None
Hot Rod client raises a NullPointerException if a failover happens but the client listener has no @ClientCacheFailover callbacks defined.
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)