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

NullPointerException at ChronoLocalDate.isEqual()

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

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

       

      java.lang.NullPointerException: null
      
              at java.time.chrono.ChronoLocalDate.isEqual (ChronoLocalDate.java:765)
              at java.time.LocalDate.isEqual (LocalDate.java:2115)
              at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.validateTransactionsForTransfer (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:1696)
              at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.initiateSavingsTransfer (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:896)
              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$DynamicAdvisedInterceptor.intercept (CglibAopProxy.java:687)
              at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$c5a5819d.initiateSavingsTransfer (<generated>)
              at org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl.handleClientTransferLifecycleEvent (TransferWritePlatformServiceJpaRepositoryImpl.java:434)
              at org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl.proposeClientTransfer (TransferWritePlatformServiceJpaRepositoryImpl.java:317)
              at org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$f189347f.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.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$514a8e6.proposeClientTransfer (<generated>)
              at org.apache.fineract.portfolio.transfer.handler.ProposeClientTransferCommandHandler.processCommand (ProposeClientTransferCommandHandler.java:45)
              at org.apache.fineract.portfolio.transfer.handler.ProposeClientTransferCommandHandler$$FastClassBySpringCGLIB$$bd6f02f0.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.transfer.handler.ProposeClientTransferCommandHandler$$EnhancerBySpringCGLIB$$4f7e22d9.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$$8ddc0326.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$$e68116cf.logCommandSource (<generated>)
              at org.apache.fineract.portfolio.client.api.ClientsApiResource.activate (ClientsApiResource.java:355)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            vorburger Michael Vorburger

            Dates

              Created:
              Updated:

              Slack

                Issue deployment