Yuta HIGUCHI

HazelcastIntentStore: fix NPE on state remove event

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