[ 
https://issues.apache.org/jira/browse/NIFI-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591712#comment-14591712
 ] 

Mark Payne commented on NIFI-694:
---------------------------------

Matt, any Exception can be thrown by the @OnEnabled methods. In this case, the 
framework, I believe, will be creating bulletins. I would recommend we just 
show that bulletin in the dialog that shows the Enabling status.

> If Enabling Controller Service fails, no indication is provided to user
> -----------------------------------------------------------------------
>
>                 Key: NIFI-694
>                 URL: https://issues.apache.org/jira/browse/NIFI-694
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Core UI
>            Reporter: Mark Payne
>             Fix For: 0.3.0
>
>
> To replicate the issue:
> 1. Add a DBCPService controller service.
> 2. Configure service. For the Driver Url use "file://tmp/non-existent-file" 
> or use an invalid Driver Class Name.
> 3. Click Apply.
> 4. Click Enable.
> The UI will show the spinner indefinitely, as the service will keep failing 
> to enable because it throws Exceptions from its @OnEnabled method. The UI 
> should provide some sort of indication that this is occurring. Otherwise, it 
> appears to the user that the system is non-responsive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to