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

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

Commit 2fc0ca1b7bc468892c80cf28ccb650d682359ae4 in nifi's branch 
refs/heads/main from Mike Thomsen
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2fc0ca1b7b ]

NIFI-13692 Catch All Exceptions in ResizeImage (#9213)

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: 0.5h
>  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)

Reply via email to