[
https://issues.apache.org/jira/browse/NIFI-15251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042520#comment-18042520
]
ASF subversion and git services commented on NIFI-15251:
--------------------------------------------------------
Commit fb3663495300cf3a62b551a7f3d2c5a8552b8413 in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=fb36634953 ]
NIFI-15251 Corrected customValidate on UpdateAttribute (#10594)
- Updated MockValidationContext property value resolution to align more closely
with framework behavior
Signed-off-by: David Handermann <[email protected]>
> UpdateAttribute throws NullPointerException if value set to empty parameter
> ---------------------------------------------------------------------------
>
> Key: NIFI-15251
> URL: https://issues.apache.org/jira/browse/NIFI-15251
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 2.0.0, 2.6.0
> Reporter: Mark Payne
> Assignee: Pierre Villard
> Priority: Major
> Fix For: 2.7.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The UpdateAttribute processor throws a NullPointerException if you add a
> user-defined property whose value is a Parameter and that Parameter is unset.
> This is because the ConcurrentHashMap that it attempts to insert into does
> not support null keys. The processor should be invalid in this case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)