You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2020/05/15 18:25:00 UTC

[jira] [Created] (NIFI-7460) Nifi throws NullPointerException if some fields in Versioned Flow are null

Mark Payne created NIFI-7460:
--------------------------------

             Summary: Nifi throws NullPointerException if some fields in Versioned Flow are null
                 Key: NIFI-7460
                 URL: https://issues.apache.org/jira/browse/NIFI-7460
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)