Michael Vorburger created FINERACT-977:
------------------------------------------
Summary: Two NullPointerException in AbstractLoanScheduleGenerator
Key: FINERACT-977
URL: https://issues.apache.org/jira/browse/FINERACT-977
Project: Apache Fineract
Issue Type: Bug
Reporter: Michael Vorburger
Fix For: 1.4.0
See FINERACT-932 for general background. This error log can and should be
"fixed":
{noformat}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){noformat}
and:
{noformat} 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){noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)