[
https://issues.apache.org/jira/browse/NIFI-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809199#comment-16809199
]
ASF subversion and git services commented on NIFI-6155:
-------------------------------------------------------
Commit 03e888ac20f79054c1a3a9ea1e36b52c07bbb77a in nifi's branch
refs/heads/NIFI-6169-RC2 from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=03e888a ]
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: 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)