Bryan Bende created NIFI-13757:
----------------------------------

             Summary: Uploaded NAR hits Error and stays Installing
                 Key: NIFI-13757
                 URL: https://issues.apache.org/jira/browse/NIFI-13757
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Bryan Bende
            Assignee: Bryan Bende


The NarInstallTask has a try/catch for Exception, but in some cases attempting 
to load the actual extension class may produce a sub-class of Error which is 
not caught but the task, so then the state never gets updated to FAILED and the 
error message never gets set.

In addition, at the point during which it hits the Error, the NAR has already 
been registered in ExtensionManager, and future calls to get available 
extension types will see the bundle and attempt to access the extension 
definitions, which also encounters the same Error and fails the overall 
request. This should be made more lenient to still allow all the other 
available extensions to be returned.



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

Reply via email to