[
https://issues.apache.org/jira/browse/NIFI-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505818#comment-16505818
]
ASF subversion and git services commented on NIFI-5281:
-------------------------------------------------------
Commit 49228aa5dcbae5c4216310117daba586a63e6778 in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=49228aa ]
NIFI-5281: If value is not valid according to the schema's CHOICE field, JSON
Writer should write null value instead of throwing NullPointerException
Signed-off-by: Pierre Villard <[email protected]>
This closes #2772.
> JSON RecordSetWriter throws NullPointerException if value is not valid
> according to the schema's CHOICE type
> ------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-5281
> URL: https://issues.apache.org/jira/browse/NIFI-5281
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.7.0
>
>
> If the JSON Record Set Writer is used and a field is defined as a CHOICE
> field in the schema, but the Record has a value that is not in the given
> CHOICE, then the RecordSetWriter throws NullPointerException.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)