diff --git a/src/main/java/com/chint/domain/aggregates/order/Leg.java b/src/main/java/com/chint/domain/aggregates/order/Leg.java index 53541204..23120d37 100644 --- a/src/main/java/com/chint/domain/aggregates/order/Leg.java +++ b/src/main/java/com/chint/domain/aggregates/order/Leg.java @@ -154,6 +154,9 @@ public class Leg implements Serializable, EventManageable { return false; } if (this.legExtensionField != null) { + if (this.legExtensionField.getLocationList() == null) { + return true; + } for (Location location : this.legExtensionField.getLocationList()) { if (!location.isInternal()) { return false;