Created a interest recalculation loan account with a overdue charge, With the backdated loan disbursement. On running the "Apply interest recalculation" schedule it gets failed. Here is the log for that:-
java.lang.NullPointerException at org.mifosplatform.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor.updateChargesPaidAmountBy(330) at org.mifosplatform.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor.handleTransactionAndCharges(255) at org.mifosplatform.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor.handleTransaction(210) at org.mifosplatform.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor.handleTransaction(202) at org.mifosplatform.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor.handleTransaction(154) at org.mifosplatform.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor.populateDerivedFeildsWithoutReprocess(573) at org.mifosplatform.portfolio.loanaccount.domain.Loan.regenerateRepaymentScheduleWithInterestRecalculation(4697) at org.mifosplatform.portfolio.loanaccount.domain.Loan.recalculateScheduleFromLastTransaction(4630) at org.mifosplatform.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest(2877) at org.mifosplatform.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest(2833) at sun.reflect.GeneratedMethodAccessor450.invoke(-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(43) at java.lang.reflect.Method.invoke(606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(201) at com.sun.proxy.$Proxy225.recalculateInterest(-1) at sun.reflect.GeneratedMethodAccessor447.invoke(-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(43) at java.lang.reflect.Method.invoke(606) at org.springframework.util.MethodInvoker.invoke(269) at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(322) at org.springframework.scheduling.quartz.QuartzJobBean.execute(112) at org.quartz.core.JobRunShell.run(213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(557)
|