Yuta HIGUCHI

HazelcastIntentStore: fix NPE on state remove event

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