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

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

Commit 23feb8f42958b45a95c369eb95eee4541586ea19 in nifi's branch 
refs/heads/master from [~ca9mbu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=23feb8f ]

NIFI-5230: Fixed NPE in InvokeScriptedProcessor on customValidate

This closes #2734

Signed-off-by: Mike Thomsen <[email protected]>


> InvokeScriptedProcessor can issue a NullPointerException in customValidate
> --------------------------------------------------------------------------
>
>                 Key: NIFI-5230
>                 URL: https://issues.apache.org/jira/browse/NIFI-5230
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>
> NIFI-4968 improved the behavior of InvokeScriptedProcessor when the script 
> has an error during parsing/interpretation/compilation, and an improvement 
> was made to not output the same validation errors over and over again until 
> manual action was taken. As part of that improvement though, a bug was 
> introduced where a NullPointerException can occur.
> Proposed fix is not to set the validation results to null on "clear", but 
> rather to an empty Set (which the code is expecting)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to