markap14 opened a new pull request, #11574: URL: https://github.com/apache/nifi/pull/11574
## Summary - When a Parameter or asset changes a Processor or Controller Service extra classpath, stopped Working components never restart, so their `InstanceClassLoader` can omit the new JAR. Connector Method discovery and invocation then fail with `NoClassDefFoundError` / `LinkageError`. - This change reloads additional classpath resources on Parameter update, always invokes Connector Methods on the live component, wraps `LinkageError` as `InvocationFailedException`, and treats `Throwable` as a failed async request so verification cannot hang. - Adds `ClasspathVerifyIT` covering Processor verify, Connector Method `loadClass`, instance state across calls, and method-signature resolution when the classpath comes from a Parameter, Processor property, or Controller Service property. https://issues.apache.org/jira/browse/NIFI-16201 ## Test plan - [x] `ClasspathVerifyIT` (9 tests) - [x] Unit tests for `nifi-framework-core-api`, `nifi-framework-components`, `nifi-web-api` - [x] Connector system tests - [x] Checkstyle and PMD on modified modules - [ ] CI (`./mvnw clean install -P contrib-check`) -- 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]
