[jira] [Commented] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()

2020-11-28 Thread Michael Vorburger (Jira)


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

Michael Vorburger commented on FINERACT-1258:
-

[~kaze] you mean by https://github.com/apache/fineract/pull/1179 for 
FINERACT-826? That was merged on October 24th. This exception only happened 4 
times in total, twice on Nov 4th and again twice on Nov 14th. The timeline 
doesn't entirely support the theory that it's fixed, but I had an issue with 
the auto-updating with Fineract.dev (it was "stuck"; and I've only recently 
fixed that; now it's auto-updating again as always), I'm therefore inclined to 
assume this was indeed fixed (and just delayed to rollout). Therefore closing 
this as a duplicate of FINERACT-826; we can always reopen it if we see it again.

> NPE at LoanAccountDomainServiceJpa.recalculateAccruals()
> 
>
> Key: FINERACT-1258
> URL: https://issues.apache.org/jira/browse/FINERACT-1258
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Loan
>Reporter: Michael Vorburger
>Assignee: Yemdjih Kaze Nasser
>Priority: Blocker
>  Labels: technical
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code}
> java.lang.NullPointerException
> at 
> org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals
>  (LoanAccountDomainServiceJpa.java:511)
> at 
> org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals
>  (LoanAccountDomainServiceJpa.java:476)
> at 
> org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$FastClassBySpringCGLIB$$526a2072.invoke
>  ()
> 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.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$15a35201.recalculateAccruals
>  ()
> at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest
>  (LoanWritePlatformServiceJpaRepositoryImpl.java:2867)
> at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$cb835224.invoke
>  ()
> 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.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$dfda8657.recalculateInterest
>  ()
> 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){code}



--
This 

[jira] [Commented] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()

2020-11-25 Thread Yemdjih Kaze Nasser (Jira)


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

Yemdjih Kaze Nasser commented on FINERACT-1258:
---

[~vorburger] I believe this issue has met its fix with the new tenant time zone 
implementation brought about after migrating Joda time to java time.

I think it's safe to close this unless it's still happening. 

> NPE at LoanAccountDomainServiceJpa.recalculateAccruals()
> 
>
> Key: FINERACT-1258
> URL: https://issues.apache.org/jira/browse/FINERACT-1258
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Loan
>Reporter: Michael Vorburger
>Assignee: Yemdjih Kaze Nasser
>Priority: Blocker
>  Labels: technical
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code}
> java.lang.NullPointerException
> at 
> org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals
>  (LoanAccountDomainServiceJpa.java:511)
> at 
> org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals
>  (LoanAccountDomainServiceJpa.java:476)
> at 
> org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$FastClassBySpringCGLIB$$526a2072.invoke
>  ()
> 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.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$15a35201.recalculateAccruals
>  ()
> at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest
>  (LoanWritePlatformServiceJpaRepositoryImpl.java:2867)
> at 
> org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$cb835224.invoke
>  ()
> 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.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$dfda8657.recalculateInterest
>  ()
> 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){code}



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