[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-1066) Partition merges when using topology hints can cause null pointers and leave the system in an unstable state

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Apr 21 11:57:18 EDT 2011


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

Manik Surtani resolved ISPN-1066.
---------------------------------

    Resolution: Done


> Partition merges when using topology hints can cause null pointers and leave the system in an unstable state
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-1066
>                 URL: https://issues.jboss.org/browse/ISPN-1066
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Cache
>    Affects Versions: 4.2.1.FINAL, 5.0.0.BETA2
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>            Priority: Critical
>              Labels: merge, split_brain
>             Fix For: 4.2.2.BETA1, 5.0.0.CR1, 5.0.0.FINAL
>
>
> Due to a missing null check in MergeTask, and the way TopologyInfo instances are dealt with (inconsistently) in DistributionManagerImpl and ConsistentHash implementations.
> In this scenario, seen on the joining node:
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.infinispan.distribution.DistributionManagerImpl.informRehashOnJoin(DistributionManagerImpl.java:475)
> 	at org.infinispan.commands.control.RehashControlCommand.perform(RehashControlCommand.java:134)
> 	at org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:145)
> 	at org.infinispan.remoting.InboundInvocationHandlerImpl.handleWithWaitForBlocks(InboundInvocationHandlerImpl.java:159)
> 	at org.infinispan.remoting.InboundInvocationHandlerImpl.handleWithRetry(InboundInvocationHandlerImpl.java:249)
> 	at org.infinispan.remoting.InboundInvocationHandlerImpl.handle(InboundInvocationHandlerImpl.java:131)
> 	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommand(CommandAwareRpcDispatcher.java:159)
> 	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:144)
> 	at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:577)
> 	at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:488)
> 	at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:364)
> {code}
> and on the coordinator:
> {code}
> Caused by: java.lang.NullPointerException
>     at org.infinispan.distribution.DistributionManagerImpl.rehash(DistributionManagerImpl.java:283)
>     at org.infinispan.distribution.DistributionManagerImpl$ViewChangeListener.handleViewChange(DistributionManagerImpl.java:563) 
>     at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:175)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list