[
https://issues.apache.org/jira/browse/NIFI-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805010#comment-16805010
]
ASF subversion and git services commented on NIFI-6155:
-------------------------------------------------------
Commit 76392ee862294cdf783e20df6c7db39b6dc2f95d in nifi's branch
refs/heads/master from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=76392ee ]
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 <[email protected]>
> 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: 20m
> 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)