Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13692

ResizeImage fails to catch exceptions in many cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.28.0, 2.0.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            mike.thomsen Mike Thomsen
            mike.thomsen Mike Thomsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m