You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Bharath Gowda (Jira)" <ji...@apache.org> on 2023/02/28 13:27:00 UTC

[jira] [Created] (FINERACT-1903) NullPointerException while reprocessing loan transactions if there was any partially waived installment fee

Bharath Gowda created FINERACT-1903:
---------------------------------------

             Summary: NullPointerException while reprocessing loan transactions if there was any partially waived installment fee
                 Key: FINERACT-1903
                 URL: https://issues.apache.org/jira/browse/FINERACT-1903
             Project: Apache Fineract
          Issue Type: Bug
            Reporter: Bharath Gowda


*GIVEN* a loan is created and it has installment fee configured
*AND* partial repayment was done (which not pays off the installment fee fully)
*AND* the not yet paid portion of the installment fee got waived
*WHEN* another repayment is done (while it is not the last) or backdated transaction or add a penalty
*THEN* NPE got raised as the reverse-replay logic is handling not properly the reprocessing of partially paid and waived installment fee


*Steps to reproduce*
- Create a loan (1000) with 1 installment with Installment fee (10)
- Do a repayment (5)
- Do a waive on the installment fee
- Do another repayment (after the first repayment, but before the waived fee) or add a penalty



--
This message was sent by Atlassian Jira
(v8.20.10#820010)