[
https://issues.apache.org/jira/browse/NIFI-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17011679#comment-17011679
]
ASF subversion and git services commented on NIFI-6985:
-------------------------------------------------------
Commit 08d0352ac11398f3400e3d23a99ff7d6546261ce in nifi's branch
refs/heads/master from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=08d0352 ]
NIFI-6985 Use correct versioned parameter contexts when child process groups
are version controlled
Signed-off-by: Pierre Villard <[email protected]>
This closes #3962.
> Unable to manage flows containing versioned process groups with parameter
> context
> ---------------------------------------------------------------------------------
>
> Key: NIFI-6985
> URL: https://issues.apache.org/jira/browse/NIFI-6985
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Geir Klingenberg
> Assignee: Bryan Bende
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Nifi is unable to import a flow from Nifi Registry, if that flow contain one
> or more process groups that
> # have a parameter context
> # is already under source control.
> To reproduce the error, create a process group (groupA), add some processor,
> add a parameter context, and map the parameter(s) to processor properties.
> Check in groupA to Registry, and remove it from the canvas. Create a new
> group, groupB, that acts as the root group in the flow. Enter groupB, and
> import groupA from Registry. Check in groupB.
> From a different Nifi instance, import groupB from Registry. Nifi gives the
> following error message:
> An unexpected error has occurred. Please check the logs for additional
> details (the logs do not contain any further error message)
> A different error message is produced if the flow is already on the Nifi
> canvas, and updated via the Version->Change version menu:
> Failed to update flow to new version due to java.lang.NullPointerException
> A work-around is to remove the sub-groups from source control. E.g. in the
> example above, navigate to groupA on the Nifi instance where the flow was
> created, and stop version control of groupA. Check in the changes of groupB.
> You should now be able to import groupB from Registry on a different Nifi
> instance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)