[
https://issues.apache.org/jira/browse/NIFI-13692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877726#comment-17877726
]
ASF subversion and git services commented on NIFI-13692:
--------------------------------------------------------
Commit 09870097331b0a1386eaa263d63fc476a447c94a in nifi's branch
refs/heads/support/nifi-1.x from Mike Thomsen
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0987009733 ]
NIFI-13692 Catch All Exceptions in ResizeImage (#9216)
Widening the scope of caught Exceptions for routing to failure ensures that the
Processor can catch pretty much everything a user could throw at this processor.
Signed-off-by: David Handermann <[email protected]>
> ResizeImage fails to catch exceptions in many cases
> ---------------------------------------------------
>
> Key: NIFI-13692
> URL: https://issues.apache.org/jira/browse/NIFI-13692
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mike Thomsen
> Assignee: Mike Thomsen
> Priority: Major
> Fix For: 1.28.0, 2.0.0-M5
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> After heavily using ResizeImage, we have discovered a number of edge cases
> where invalid data would cause exceptions that pass through the try/catch
> blocks. The solution that we found was to widen the catch blocks to just
> Exception.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)