You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/12/01 15:29:00 UTC

[jira] [Commented] (NIFI-15251) UpdateAttribute throws NullPointerException if value set to empty parameter

    [ https://issues.apache.org/jira/browse/NIFI-15251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041878#comment-18041878 ] 

ASF subversion and git services commented on NIFI-15251:
--------------------------------------------------------

Commit ab88405c20e5cc8a1fbdf87fdd34c6918e6477ae in nifi's branch refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ab88405c20 ]

NIFI-15251 Validate empty Parameters referenced in UpdateAttribute Dynamic Properties (#10577)

Signed-off-by: David Handermann <ex...@apache.org>

> 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
>            Reporter: Mark Payne
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 1h
>  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)