Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.2
-
Ubuntu OS, OpenJDK 1.8
Description
The ResizeImage Processor's process method which performs the actual image handles IOExceptions and performs some validation, but it does not handle all exception types cleanly. The attached image (peppers.jpg) throws an IllegalArgumentException. 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 exceptions should be caught and handled explicitly as REL_FAILURE.
Attachments
Attachments
Issue Links
- links to