[ 
https://issues.apache.org/jira/browse/FINERACT-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151015#comment-17151015
 ] 

Michael Vorburger commented on FINERACT-1067:
---------------------------------------------

BTW there is also the following in the logs on https://www.fineract.dev but I 
would bet that this actually just "double logging" and exactly the same as and 
due to above:

{noformat}org.quartz.SchedulerException: Job threw an unhandled exception.
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
~[quartz-2.3.2.jar:na]
        at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 
~[quartz-2.3.2.jar:na]
Caused by: 
org.springframework.scheduling.quartz.JobMethodInvocationFailedException: 
Invocation of method 'recalculateInterest' on target class [class 
org.apache.fineract.portfolio.loanaccount.service.LoanSchedularServiceImpl] 
failed; nested exception is 
org.apache.fineract.infrastructure.jobs.exception.JobExecutionException: 
MultiException with 1 contained causes (details available){noformat}

> ScheduleDateException at AbstractLoanScheduleGenerator.generate()
> -----------------------------------------------------------------
>
>                 Key: FINERACT-1067
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1067
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Priority: Critical
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {noformat}org.apache.fineract.portfolio.loanaccount.loanschedule.exception.ScheduleDateException
>         at 
> org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.generate
>  (AbstractLoanScheduleGenerator.java:211)
>         at 
> org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.rescheduleNextInstallments
>  (AbstractLoanScheduleGenerator.java:2343)
>         at 
> org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.rescheduleNextInstallments
>  (AbstractLoanScheduleGenerator.java:2055)
>         at 
> org.apache.fineract.portfolio.loanaccount.domain.Loan.getRecalculatedSchedule 
> (Loan.java:5404)
>         at 
> org.apache.fineract.portfolio.loanaccount.domain.Loan.regenerateRepaymentScheduleWithInterestRecalculation
>  (Loan.java:5157)
>         at 
> org.apache.fineract.portfolio.loanaccount.domain.Loan.recalculateScheduleFromLastTransaction
>  (Loan.java:5117)
>         at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest
>  (LoanWritePlatformServiceJpaRepositoryImpl.java:2849)
>         at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$cb835224.invoke
>  (<generated>)
>         at org.springframework.cglib.proxy.MethodProxy.invoke 
> (MethodProxy.java:218)
>         at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint
>  (CglibAopProxy.java:771)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed 
> (ReflectiveMethodInvocation.java:163)
>         at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed 
> (CglibAopProxy.java:749)
>         at 
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction
>  (TransactionAspectSupport.java:366)
>         at 
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke 
> (TransactionInterceptor.java:118)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed 
> (ReflectiveMethodInvocation.java:186)
>         at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed 
> (CglibAopProxy.java:749)
>         at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept
>  (CglibAopProxy.java:691)
>         at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$379676bb.recalculateInterest
>  (<generated>)
>         at 
> org.apache.fineract.portfolio.loanaccount.service.LoanSchedularServiceImpl.recalculateInterest
>  (LoanSchedularServiceImpl.java:138)
>         at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native 
> Method)
>         at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
>         at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke (Method.java:566)
>         at org.springframework.util.MethodInvoker.invoke 
> (MethodInvoker.java:283)
>         at 
> org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal
>  (MethodInvokingJobDetailFactoryBean.java:267)
>         at org.springframework.scheduling.quartz.QuartzJobBean.execute 
> (QuartzJobBean.java:75)
>         at org.quartz.core.JobRunShell.run (JobRunShell.java:202)
>         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run 
> (SimpleThreadPool.java:573){noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to