You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/08/12 20:58:00 UTC
[jira] [Created] (NIFI-7734) Add Record Separator property to
CSVReader, causes Jackson parser to fail with Custom format
Matt Burgess created NIFI-7734:
----------------------------------
Summary: 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
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)