pvillard31 opened a new pull request, #10459:
URL: https://github.com/apache/nifi/pull/10459
# Summary
NIFI-15134 - NPE when verifying Flow Registry Client
````
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)
````
This is caused by the changes that happened in
[NIFI-15061](https://issues.apache.org/jira/browse/NIFI-15061) and in
[NIFI-15058](https://issues.apache.org/jira/browse/NIFI-15058). Things have
been merged concurrently and we missed the conflicting change on the
initialization of Standard Logging Context.
# Tracking
Please complete the following tracking steps prior to pull request creation.
### Issue Tracking
- [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue
created
### Pull Request Tracking
- [ ] Pull Request title starts with Apache NiFi Jira issue number, such as
`NIFI-00000`
- [ ] Pull Request commit message starts with Apache NiFi Jira issue number,
as such `NIFI-00000`
### Pull Request Formatting
- [ ] Pull Request based on current revision of the `main` branch
- [ ] Pull Request refers to a feature branch with one commit containing
changes
# Verification
Please indicate the verification steps performed prior to pull request
creation.
### Build
- [ ] Build completed using `./mvnw clean install -P contrib-check`
- [ ] JDK 21
- [ ] JDK 25
### Licensing
- [ ] New dependencies are compatible with the [Apache License
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License
Policy](https://www.apache.org/legal/resolved.html)
- [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE`
files
### Documentation
- [ ] Documentation formatting appears as expected in rendered files
--
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]