You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Saransh Sharma (Jira)" <ji...@apache.org> on 2020/05/22 17:23:00 UTC
[jira] [Commented] (FINERACT-977) Two NullPointerException in
AbstractLoanScheduleGenerator
[ https://issues.apache.org/jira/browse/FINERACT-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114263#comment-17114263 ]
Saransh Sharma commented on FINERACT-977:
-----------------------------------------
How do I reproduce, I could not properly grasp should we just log this ? or catch the exception and then log?
> 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
> Priority: Blocker
> 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)