HazelcastIntentStore: fix NPE on state remove event
Change-Id: I03d52fd3151f734bb8e420ba9b0172078ca8a727
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -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 | } | ... | ... |
-
Please register or login to post a comment