You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (Jira)" <ji...@apache.org> on 2023/04/12 17:30:00 UTC

[jira] [Updated] (NIFI-11436) FlowUpdateResource throws NPE if PG is not under version control

     [ https://issues.apache.org/jira/browse/NIFI-11436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Bende updated NIFI-11436:
-------------------------------
    Description: 
If the PG being updated is not under version control, then will encounter an NPE when trying to retrieve the previous snapshot:
{code:java}
java.lang.NullPointerException: null                                      
at org.apache.nifi.web.api.FlowUpdateResource.updateFlow(FlowUpdateResource.java:381)                                                                   
at org.apache.nifi.web.api.FlowUpdateResource.lambda$submitFlowUpdateRequest$5(FlowUpdateResource.java:282)                                                 {code}

> FlowUpdateResource throws NPE if PG is not under version control
> ----------------------------------------------------------------
>
>                 Key: NIFI-11436
>                 URL: https://issues.apache.org/jira/browse/NIFI-11436
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.21.0
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Major
>
> If the PG being updated is not under version control, then will encounter an NPE when trying to retrieve the previous snapshot:
> {code:java}
> java.lang.NullPointerException: null                                      
> at org.apache.nifi.web.api.FlowUpdateResource.updateFlow(FlowUpdateResource.java:381)                                                                   
> at org.apache.nifi.web.api.FlowUpdateResource.lambda$submitFlowUpdateRequest$5(FlowUpdateResource.java:282)                                                 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)