My Oracle Support Banner

"Error reading native data" When Processing CSV File With Empty Line From File Adapter (Doc ID 458482.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle(R) BPEL Process Manager 10g - Version 10.1.3.3 and later
Information in this document applies to any platform.
***Checked for relevance on 05-Apr-2011***


Symptoms

When using the file adapter to process an incoming comma separated values (CSV) file, which has an empty line at the end of the file, the following error is written to the domain.log file and the BPEL process fails:

Error while reading native data.
[Line=2, Col=1] Expected "," for the data starting at the specified position, wh
ile trying to read the data for "element with name C1", using "style" as "termin
ated" and "terminatedBy" as ",", but not found.
Ensure that ",", exists for the data starting at the specified position.

Steps To Reproduce

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
 Solution 1
 Solution 2 (workaround)

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.