simonbence commented on code in PR #8888:
URL: https://github.com/apache/nifi/pull/8888#discussion_r1618732933
##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/serialization/VersionedFlowSynchronizer.java:
##########
@@ -257,6 +257,10 @@ private void mapCompatibleBundles(final DataFlow
proposedFlow, final ExtensionMa
final Set<String> missingComponentIds =
proposedFlow.getMissingComponents();
final VersionedDataflow dataflow = proposedFlow.getVersionedDataflow();
+ if (dataflow == null) {
Review Comment:
I propose the usage of the `isFlowEmpty`method here, which covers more
possible variations for an empty `dataFlow`. I tested it via standard NiFi and
it worked properly during initial startup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]