Inbound File or FTP Adapter Fails to Process a Large Input File: ORABPEL-11162 Error while reading native data Not enough data available in the input (Doc ID 1159714.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.3 and later
Information in this document applies to any platform.
***Checked for relevance on 13-Dec-2012***

Symptoms

BPEL processing fails when an inbound read File or FTP adapter tries to read a large file that is around 5MB in size and the adapter defines a Message Schema, i.e. the schema is not Opaque.

The following similar error is seen in the $ORACLE_HOME/opmn/logs/<BPEL container>.log or the BPEL domain logfile in $ORACLE_HOME/bpel/domains/<domain name>/logs/domain.log:

<2010-07-02 11:26:44,500> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Error while translating inbound file : inbound_file
<2010-07-02 11:26:44,503> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound>
ORABPEL-11162

Error while reading native data.
[Line=6513, Col=139] Not enough data available in the input, when trying to read data of length "8" for "element with name THE_AMOUNT" from the specified position, using "style" as "fixedLength" and "length" as "8".
Ensure that there is enough data from the specified position in the input.

at oracle.tip.pc.services.translation.xlators.nxsd.NXSDStyleBasedReader.readFixedLengthStyle(NXSDStyleBasedReader.java:128)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.readFixedLengthStyle(NXSDTranslatorImpl.java:1852)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.readNativeData(NXSDTranslatorImpl.java:1915)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1106)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1183)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1070)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1221)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1070)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.doTranslateFromNative(NXSDTranslatorImpl.java:682)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:469)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:749)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:337)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:219)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
at java.lang.Thread.run(Thread.java:595)

<2010-07-02 11:26:44,503> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Since a translation exception was thrown, this indicates that it is a non-debatching scenario.
<2010-07-02 11:26:44,503> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Failed to translate file : {/u01/Shared/BPEL/DMS/inbound/interface/DCPS-I-001/iinbound_file}
<2010-07-02 11:26:44,504> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Sending message to Adapter Framework for rejection to user-configured rejection handlers : {
file=/u01/Shared/BPEL/ABC/inbound/interface/t1/inbound_file, Exception=ORABPEL-11162

Error while reading native data.
[Line=6513, Col=139] Not enough data available in the input, when trying to read data of length "8" for "element with name THE_AMOUNT" from the specified position, using "style" as "fixedLength" and "length" as "8".
Ensure that there is enough data from the specified position in the input. 

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