Yuta HIGUCHI

HazelcastIntentStore: fix NPE on state remove event

Change-Id: I03d52fd3151f734bb8e420ba9b0172078ca8a727
......@@ -586,7 +586,10 @@ public class HazelcastIntentStore
intentId, oldState);
}
notifyDelegate(IntentEvent.getEvent(event.getValue(), getIntent(intentId)));
if (event.getValue() != null) {
// notify if this is not entry removed event
notifyDelegate(IntentEvent.getEvent(event.getValue(), getIntent(intentId)));
}
}
}
}
......