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

Framework task that checks if a component should run is not protected by try/catch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 1.9.2
    • Component/s: Core Framework
    • Labels:
      None

      Description

      The ConnectableTask code performs several checks to determine whether or not a given component should be triggered to run. However, this is done without catching the general Exception or Error, so if something like an OutOfMemoryError is thrown, it could silently fail, resulting in that task no longer being executed and without warning.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markap14 Mark Payne
                Reporter:
                markap14 Mark Payne
              • 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 - 0.5h
                  0.5h