Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1266

NullPointerException at SavingsHelper.determineInterestPostingPeriods()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Savings

    Description

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

       java.lang.NullPointerException: null
      
              at org.apache.fineract.portfolio.savings.domain.SavingsHelper.determineInterestPostingPeriods (SavingsHelper.java:58)
              at org.apache.fineract.portfolio.savings.domain.SavingsAccount.calculateInterestUsing (SavingsAccount.java:718)
              at org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.calculateInterestUsing (FixedDepositAccount.java:652)
              at org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.postMaturityInterest (FixedDepositAccount.java:529)
              at org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa.handleFDAccountClosure (DepositAccountDomainServiceJpa.java:225)
              at org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa$$FastClassBySpringCGLIB$$70db88ca.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.domain.DepositAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$6a89bf4b.handleFDAccountClosure (<generated>)
              at org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl.closeFDAccount (DepositAccountWritePlatformServiceJpaRepositoryImpl.java:831)
              at org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$8210a7c1.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.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$ac5cae90.closeFDAccount (<generated>)
              at org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler.processCommand (CloseFixedDepositAccountCommandHandler.java:44)
              at org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler$$FastClassBySpringCGLIB$$dab87d07.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.handler.CloseFixedDepositAccountCommandHandler$$EnhancerBySpringCGLIB$$9be8aa22.processCommand (<generated>)
              at org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand (SynchronousCommandProcessingService.java:95)
              at org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$8ab495ca.processAndLogCommand (<generated>)
              at org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
              at org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.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.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$EnhancerBySpringCGLIB$$e359a973.logCommandSource (<generated>)
              at org.apache.fineract.portfolio.savings.api.FixedDepositAccountsApiResource.handleCommands (FixedDepositAccountsApiResource.java:385)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: