You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matthew Knight (Jira)" <ji...@apache.org> on 2019/09/18 17:35:00 UTC

[jira] [Created] (NIFI-6686) ResizeImage Processor Throws Uncaught IOException

Matthew Knight created NIFI-6686:
------------------------------------

             Summary: 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


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)