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

Matthew Knight commented on NIFI-6686:
--------------------------------------

I am working on digging up an image to replicate this.

> ResizeImage Processor Throws Uncaught IOException
> -------------------------------------------------
>
>                 Key: NIFI-6686
>                 URL: https://issues.apache.org/jira/browse/NIFI-6686
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.9.2
>         Environment: Ubuntu OS, OpenJDK 1.8
>            Reporter: Matthew Knight
>            Priority: Major
>              Labels: beginner, imageio
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The ResizeImage Processor's process method which performs the actual image 
> resize throws an IOException which is not directly caught.  The offending 
> flowfile gets penalized, but whenever it is reprocessed this error will just 
> happen again because the image itself is the source of the problem and that 
> has not changed.  Processing time becomes wasted as the same file is 
> processed repeatedly at every penalty duration with the same result.  
> ImageResize IOExceptions should be caught and handled explicitly as 
> REL_FAILURE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to