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

Nifi throws NullPointerException if some fields in Versioned Flow are null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • Core Framework
    • None

    Description

      I have a flow in the registry where the 'autoTerminatedRelationships' for a processor are null. This causes NiFi to throw a NPE, which prevents me from getting to the UI. NiFi should avoid throwing the NPE, should provide better logging to indicate where the problem is (which Process Group), and should in most cases just log errors and transition a PG's Versioned Flow State to a state of SYNC_FAILURE with an appropriate error instead of throwing Exceptions that could prevent the UI from responding

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              3 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