Github user olegz commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1219#discussion_r88040615
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
---
@@ -746,8 +746,11 @@ public void run() {
removeConnection(conn);
}
- ExtensionManager.removeInstanceClassLoaderIfExists(id);
LOG.info("{} removed from flow", processor);
+
+ // this must be called after the logging statement b/c the
toString of processor calls NarCloseable
+ // and ends up using the InstanceClassLoader
+ ExtensionManager.removeInstanceClassLoaderIfExists(id);
--- End diff --
I see. . . then I am fine
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---