[
https://issues.apache.org/jira/browse/NIFI-11436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-11436:
------------------------------
Fix Version/s: 2.0.0
1.22.0
> 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
> Fix For: 2.0.0, 1.22.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)