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

IllegalArgumentException: No enum constant ... at lang.Enum.valueOf()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • 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.IllegalArgumentException: No enum constant org.apache.fineract.portfolio.client.domain.ClientIdentifierStatus.
      
              at java.lang.Enum.valueOf (Enum.java:240)
              at org.apache.fineract.portfolio.client.domain.ClientIdentifierStatus.valueOf (ClientIdentifierStatus.java:24)
              at org.apache.fineract.portfolio.client.domain.ClientIdentifier.<init> (ClientIdentifier.java:77)
              at org.apache.fineract.portfolio.client.domain.ClientIdentifier.fromJson (ClientIdentifier.java:64)
              at org.apache.fineract.portfolio.client.service.ClientIdentifierWritePlatformServiceJpaRepositoryImpl.addClientIdentifier (ClientIdentifierWritePlatformServiceJpaRepositoryImpl.java:91)
              at org.apache.fineract.portfolio.client.service.ClientIdentifierWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$72a93416.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.client.service.ClientIdentifierWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$2e8230af.addClientIdentifier (<generated>)
              at org.apache.fineract.portfolio.client.handler.CreateClientIdentifierCommandHandler.processCommand (CreateClientIdentifierCommandHandler.java:45)
              at org.apache.fineract.portfolio.client.handler.CreateClientIdentifierCommandHandler$$FastClassBySpringCGLIB$$d3524d32.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.client.handler.CreateClientIdentifierCommandHandler$$EnhancerBySpringCGLIB$$d7780d83.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.client.api.ClientIdentifiersApiResource.createClientIdentifier (ClientIdentifiersApiResource.java:153)

      This has happened 6 times on November 27th.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: