Pierre Villard created NIFI-15134:
-------------------------------------

             Summary: NPE when verifying Flow Registry Client
                 Key: NIFI-15134
                 URL: https://issues.apache.org/jira/browse/NIFI-15134
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Pierre Villard
            Assignee: Pierre Villard


{code:java}
2025-10-23 12:07:24,639 ERROR [Verify Flow Analysis Rule Config Thread-1] 
o.apache.nifi.web.api.ControllerResource Failed to verify Registry Client 
configuration
java.lang.NullPointerException: Group Component required
        at java.base/java.util.Objects.requireNonNull(Objects.java:259)
        at 
org.apache.nifi.logging.StandardLoggingContext.<init>(StandardLoggingContext.java:44)
        at 
org.apache.nifi.web.dao.impl.StandardFlowRegistryDAO.verifyConfiguration(StandardFlowRegistryDAO.java:258)
        at 
org.apache.nifi.web.StandardNiFiServiceFacade.performFlowRegistryClientConfigVerification(StandardNiFiServiceFacade.java:3562)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
        at 
org.apache.nifi.web.StandardNiFiServiceFacade$$SpringCGLIB$$0.performFlowRegistryClientConfigVerification(<generated>)
        at 
org.apache.nifi.web.api.ControllerResource.lambda$performAsyncRegistryClientConfigVerification$42(ControllerResource.java:1663)
        at 
org.apache.nifi.web.api.concurrent.AsyncRequestManager.lambda$submitRequest$2(AsyncRequestManager.java:117)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
{code}
This is caused by the changes that happened in NIFI-15061 and in NIFI-15058. 
Things have been merged concurrently and we missed the conflicting change on 
the initialization of Standard Logging Context.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to