infinispan/infinispan — pull request #1577 by anistor (2013-01-15 15:17:06+00:00)
Title: ISPN-2711 NPE in StateConsumerImpl.addUpdatedKey and isKeyUpdated

updatedKeys can be set to null by another thread that calls stopApplyingState() between the initial null check and the actual access leading to NPE. To guard against this it is enough to grab a local copy of the reference.

JIRA: https://issues.jboss.org/browse/ISPN-2711