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

Last updated on FEBRUARY 21, 2012

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.3 and later   [Release: 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

  • deploy a BPEL process which reads from a CSV file
  • place an input file into the incoming folder, which contains a blank (empty) line at the end of
    the file



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms