[
https://issues.apache.org/jira/browse/NIFI-7734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176713#comment-17176713
]
ASF subversion and git services commented on NIFI-7734:
-------------------------------------------------------
Commit b7b2533ffe556ef5bb1982e819f465ce1c74881b in nifi's branch
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b7b2533 ]
NIFI-7734: Added Record Separator property to CSVReader
> Add Record Separator property to CSVReader, causes Jackson parser to fail
> with Custom format
> --------------------------------------------------------------------------------------------
>
> Key: NIFI-7734
> URL: https://issues.apache.org/jira/browse/NIFI-7734
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If "Custom" is set as the format in CSVReader when "Jackson CSV" is set for
> the CSV Parser property, a NullPointerException occurs.
> This is because there is no Record Separator property available for
> CSVReader, so the value is null when retrieved to configure the Jackson CSV
> parser. The Jackson CSV Parser code in NiFi should be updated to check for
> null and default to the newline character sequence, and the Record Separator
> property should be exposed in the CSVReader in order to ensure it is set (and
> can be configured by the user), as was done for the
> ConvertExcelToCSVProcessor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)