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

Paul Grey commented on NIFI-9389:
---------------------------------

Null guard around the reference to "this.externalProcess.isAlive()" in the 
"@OnUnscheduled" method should be sufficient.

> ExecuteProcess incompatibility with scheduling configuration "Execution / 
> Primary Node" 
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-9389
>                 URL: https://issues.apache.org/jira/browse/NIFI-9389
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Paul Grey
>            Priority: Trivial
>         Attachments: exception.txt
>
>
> When an "ExecuteProcess" processor is configured to run only on the primary 
> node of a cluster, the "Run Once" and "Stop" commands cause an NPE to be 
> thrown on all non-primary nodes.
> This would also happen on any node if the "Cron" scheduling strategy was 
> used, and the processor was started and stopped without being triggered by 
> the cron expression.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to