danielales2541 commented on code in PR #4510:
URL: https://github.com/apache/fineract/pull/4510#discussion_r2029275383


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/bulkimport/populator/savings/SavingsTransactionsWorkbookPopulator.java:
##########
@@ -208,11 +208,14 @@ private void populateSavingsTable(Sheet 
savingsTransactionSheet, String dateForm
             if (savingsAccount.getMinRequiredOpeningBalance() != null) {
                 
writeBigDecimal(TransactionConstants.LOOKUP_OPENING_BALANCE_COL, row, 
savingsAccount.getMinRequiredOpeningBalance());
             }
-            writeDate(TransactionConstants.LOOKUP_SAVINGS_ACTIVATION_DATE_COL, 
row,
-                    "" + 
savingsAccount.getTimeline().getActivatedOnDate().getDayOfMonth() + "/"
-                            + 
savingsAccount.getTimeline().getActivatedOnDate().getMonthValue() + "/"
-                            + 
savingsAccount.getTimeline().getActivatedOnDate().getYear(),
-                    dateCellStyle, dateFormat);
+            if (savingsAccount.getActivatedOnDate() != null) {
+                
writeDate(TransactionConstants.LOOKUP_SAVINGS_ACTIVATION_DATE_COL, row,
+                        "" + 
savingsAccount.getTimeline().getActivatedOnDate().getDayOfMonth() + "/"
+                                + 
savingsAccount.getTimeline().getActivatedOnDate().getMonthValue() + "/"
+                                + 
savingsAccount.getTimeline().getActivatedOnDate().getYear(),
+                        dateCellStyle, dateFormat);
+            }
+

Review Comment:
   yes of corse



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to