[
https://issues.apache.org/jira/browse/NIFI-7460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108625#comment-17108625
]
ASF subversion and git services commented on NIFI-7460:
-------------------------------------------------------
Commit c51b9051a8f503af1e1793c952b150895a0399ce in nifi's branch
refs/heads/master from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c51b905 ]
NIFI-7460: Avoid NPE when a VersionedProcessor has a null value for
autoTerminatedRelationships. Added additional logging and improved error
handling around syncing with invalid flows
> 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
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)