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

Two NullPointerException in AbstractLoanScheduleGenerator

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None

    Description

      See FINERACT-932 for general background. This error log can and should be "fixed":

      java.lang.NullPointerException: null
      
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.updateAmountsBasedOnCurrentEarlyPayments (AbstractLoanScheduleGenerator.java:640)
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.generate (AbstractLoanScheduleGenerator.java:297)
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.rescheduleNextInstallments (AbstractLoanScheduleGenerator.java:2342)
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.rescheduleNextInstallments (AbstractLoanScheduleGenerator.java:2053)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.getRecalculatedSchedule (Loan.java:5408)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.regenerateRepaymentScheduleWithInterestRecalculation (Loan.java:5167)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.handleRepaymentOrRecoveryOrWaiverTransaction (Loan.java:3123)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.makeRepayment (Loan.java:2955)
              at org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.makeRepayment (LoanAccountDomainServiceJpa.java:191)
              at org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.makeRepayment (LoanAccountDomainServiceJpa.java:142)

      and:

       java.lang.NullPointerException
      
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.handleRecalculationForTransactions (AbstractLoanScheduleGenerator.java:521)
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.generate (AbstractLoanScheduleGenerator.java:331)
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.rescheduleNextInstallments (AbstractLoanScheduleGenerator.java:2342)
              at org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.rescheduleNextInstallments (AbstractLoanScheduleGenerator.java:2053)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.getRecalculatedSchedule (Loan.java:5408)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.regenerateRepaymentScheduleWithInterestRecalculation (Loan.java:5167)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.handleRepaymentOrRecoveryOrWaiverTransaction (Loan.java:3123)
              at org.apache.fineract.portfolio.loanaccount.domain.Loan.makeRepayment (Loan.java:2955)
              at org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.makeRepayment (LoanAccountDomainServiceJpa.java:191)
              at org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.makeRepayment (LoanAccountDomainServiceJpa.java:142)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            saransh Saransh Sharma
            vorburger Michael Vorburger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment