[ 
https://issues.apache.org/jira/browse/NIFI-13757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann resolved NIFI-13757.
-------------------------------------
    Fix Version/s: 2.0.0-M5
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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 by 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