adamsaghy commented on PR #6228:
URL: https://github.com/apache/fineract/pull/6228#issuecomment-5191513788

   Based on the logs, there is no tenant information available when the 
idempotency filter is called:
   
   ```
   fineract-1    | 2026-08-05T11:14:39.056124961Z 
   fineract-1    | 2026-08-05T11:14:39.056128446Z 
org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method 
call: Attempted to call method getTenantIdentifier() on null context object
   fineract-1    | 2026-08-05T11:14:39.056131360Z       at 
org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:169)
   fineract-1    | 2026-08-05T11:14:39.056134685Z       at 
org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:118)
   fineract-1    | 2026-08-05T11:14:39.056137279Z       at 
org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:108)
   fineract-1    | 2026-08-05T11:14:39.056139832Z       at 
org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:66)
   fineract-1    | 2026-08-05T11:14:39.056142276Z       at 
org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:96)
   fineract-1    | 2026-08-05T11:14:39.056144760Z       at 
org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:116)
   fineract-1    | 2026-08-05T11:14:39.056156497Z       at 
org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:273)
   fineract-1    | 2026-08-05T11:14:39.056163217Z       at 
org.springframework.cache.interceptor.CacheOperationExpressionEvaluator.key(CacheOperationExpressionEvaluator.java:106)
   fineract-1    | 2026-08-05T11:14:39.056167503Z       at 
org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.generateKey(CacheAspectSupport.java:971)
   fineract-1    | 2026-08-05T11:14:39.056171208Z       at 
org.springframework.cache.interceptor.CacheAspectSupport.generateKey(CacheAspectSupport.java:761)
   fineract-1    | 2026-08-05T11:14:39.056174884Z       at 
org.springframework.cache.interceptor.CacheAspectSupport.findCachedValue(CacheAspectSupport.java:524)
   fineract-1    | 2026-08-05T11:14:39.056178950Z       at 
org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:448)
   fineract-1    | 2026-08-05T11:14:39.056182595Z       at 
org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:412)
   fineract-1    | 2026-08-05T11:14:39.056186391Z       at 
org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:65)
   fineract-1    | 2026-08-05T11:14:39.056189966Z       at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
   fineract-1    | 2026-08-05T11:14:39.056194923Z       at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
   fineract-1    | 2026-08-05T11:14:39.056198759Z       at 
org.apache.fineract.infrastructure.configuration.domain.GlobalConfigurationRepositoryWrapper$$SpringCGLIB$$1.findOneByNameWithNotFoundDetection(<generated>)
   fineract-1    | 2026-08-05T11:14:39.056203055Z       at 
org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainServiceJpa.getGlobalConfigurationPropertyData(ConfigurationDomainServiceJpa.java:392)
   fineract-1    | 2026-08-05T11:14:39.056206480Z       at 
org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainServiceJpa.isIdempotencyValidationEnabled(ConfigurationDomainServiceJpa.java:604)
   fineract-1    | 2026-08-05T11:14:39.056210356Z       at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
   fineract-1    | 2026-08-05T11:14:39.056214021Z       at 
java.base/java.lang.reflect.Method.invoke(Method.java:580)
   fineract-1    | 2026-08-05T11:14:39.056217326Z       at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
   fineract-1    | 2026-08-05T11:14:39.056220531Z       at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:724)
   fineract-1    | 2026-08-05T11:14:39.056224116Z       at 
org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainServiceJpa$$SpringCGLIB$$0.isIdempotencyValidationEnabled(<generated>)
   fineract-1    | 2026-08-05T11:14:39.056227842Z       at 
org.apache.fineract.infrastructure.core.filters.IdempotencyStoreFilter.warnIfIdempotencyKeyHeaderMissing(IdempotencyStoreFilter.java:76)
   fineract-1    | 2026-08-05T11:14:39.056231427Z       at 
org.apache.fineract.infrastructure.core.filters.IdempotencyStoreFilter.doFilterInternal(IdempotencyStoreFilter.java:53)
   fineract-1    | 2026-08-05T11:14:39.056235202Z       at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to