Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1903

NullPointerException while reprocessing loan transactions if there was any partially waived installment fee

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bgowda Bharath Gowda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: