[
https://issues.apache.org/jira/browse/NIFI-15337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066785#comment-18066785
]
shekhar commented on NIFI-15337:
--------------------------------
Thanks [~lterjeki] for the fix.
This problem is present in version 2.3.0 as well. Can the fix be backported or
pushed to this release?
> ClearState Optional parameter is mandatory
> ------------------------------------------
>
> Key: NIFI-15337
> URL: https://issues.apache.org/jira/browse/NIFI-15337
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: László Dénes Terjéki
> Assignee: László Dénes Terjéki
> Priority: Major
> Fix For: 2.8.0, 2.7.2
>
> Attachments: replication.log
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In NIFI-14900 the `\{id}/state/clear-requests` endpoint has a new optional
> parameter:
> {noformat}
> Optional component state to perform a selective key removal. If omitted,
> clears all state.{noformat}
> But if not set a NullPointerException is thrown during replication.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)