Michael Vorburger created FINERACT-1477:
-------------------------------------------

             Summary: InsufficientAccountBalanceException in Batch Job
                 Key: FINERACT-1477
                 URL: https://issues.apache.org/jira/browse/FINERACT-1477
             Project: Apache Fineract
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Michael Vorburger


See FINERACT-932 for general background; I've found this A LOT in logs of 
https://www.fineract.dev:

{noformat}org.apache.fineract.portfolio.savings.exception.InsufficientAccountBalanceException:
 Insufficient account balance.
at 
org.apache.fineract.portfolio.savings.domain.SavingsAccount.validateAccountBalanceDoesNotBecomeNegative
 (SavingsAccount.java:1212)
at 
org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.payCharge
 (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:1292)
at 
org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.applyChargeDue
 (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:1255)
at 
org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$fa18015c.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:367)
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.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$94d36792.applyChargeDue
 (<generated>)
at 
org.apache.fineract.scheduledjobs.service.ScheduledJobRunnerServiceImpl.applyDueChargesForSavings
 (ScheduledJobRunnerServiceImpl.java:248)
at 
org.apache.fineract.scheduledjobs.service.ScheduledJobRunnerServiceImpl$$FastClassBySpringCGLIB$$80bbf4b3.invoke
 (<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke (MethodProxy.java:218)
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept
 (CglibAopProxy.java:687)
at 
org.apache.fineract.scheduledjobs.service.ScheduledJobRunnerServiceImpl$$EnhancerBySpringCGLIB$$332a8ff7.applyDueChargesForSavings
 (<generated>)
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.20.1#820001)

Reply via email to