diff --git a/src/main/java/com/impactupgrade/nucleus/model/CrmImportEvent.java b/src/main/java/com/impactupgrade/nucleus/model/CrmImportEvent.java index ed6f782e0..a81cbd798 100644 --- a/src/main/java/com/impactupgrade/nucleus/model/CrmImportEvent.java +++ b/src/main/java/com/impactupgrade/nucleus/model/CrmImportEvent.java @@ -503,7 +503,10 @@ private static BigDecimal getAmount(CaseInsensitiveMap data, String colu if (!data.containsKey(columnName)) { return null; } - return new BigDecimal(data.get(columnName).replace("$", "").replace(",", "") - .trim()).setScale(2, RoundingMode.CEILING); + String n = data.get(columnName); + if (Strings.isNullOrEmpty(n)) { + return null; + } + return new BigDecimal(n.replace("$", "").replace(",", "").trim()).setScale(2, RoundingMode.CEILING); } }