diff --git a/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java b/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java index 0c30c396b..2635bee75 100644 --- a/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java @@ -56,7 +56,7 @@ public class EntityIdentifier { public Map getChanges() { Map checkIfEmpty = null; - if (!this.changes.isEmpty()) { + if (this.changes != null && !this.changes.isEmpty()) { checkIfEmpty = this.changes; } return checkIfEmpty;