You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/01 20:43:06 UTC

[jira] [Commented] (NIFI-6155) Framework task that checks if a component should run is not protected by try/catch

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

ASF subversion and git services commented on NIFI-6155:
-------------------------------------------------------

Commit f996b6e07827a2a66e7f1e03dd0fb3732a09f987 in nifi's branch refs/heads/NIFI-6169-RC1 from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f996b6e ]

NIFI-6155: Ensure that any task submitted to FlowEngine catches Throwable so that the task doesn't die just die silently in the case of an unexpected error/exception

This closes #3395.

Signed-off-by: Bryan Bende <bb...@apache.org>


> Framework task that checks if a component should run is not protected by try/catch
> ----------------------------------------------------------------------------------
>
>                 Key: NIFI-6155
>                 URL: https://issues.apache.org/jira/browse/NIFI-6155
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.10.0, 1.9.2
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The ConnectableTask code performs several checks to determine whether or not a given component should be triggered to run. However, this is done without catching the general Exception or Error, so if something like an OutOfMemoryError is thrown, it could silently fail, resulting in that task no longer being executed and without warning.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)