[ 
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)

Reply via email to