CECToolsException When Processing a Custom Document (Doc ID 735210.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Application Server Integration B2B - Version: 10.1.2.0.2 to 10.1.2.3.0
This problem can occur on any platform.

Symptoms

When Processing a flat file, the following error occurs.

Error -: AIP-51505: General Validation Error: com.edifecs.shared.jni.JNIException: Execute
failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be
parsed. Please check the file to verify that it is valid and formatted correctly. This error can
occur for one of the following reasons: A) The data file may be a Word document or have some
other binary format. B) The envelope data may not be formatted properly. If this is an X12 data
file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is
an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify
that the envelope segments conform to the specified rules. C) The segment/record delimiters in the
file are incorrect.]
at
oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin.processIncomingDocument(CustomIDocument
Plugin.java:458)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1811)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2478)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2351)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2306)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:523)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:370)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.edifecs.shared.jni.JNIException: Execute failed - CECToolsException thrown -
HRESULT[650007], description[The data in the file could not be parsed. Please check the file to
verify that it is valid and formatted correctly. This error can occur for one of the following
reasons: A) The data file may be a Word document or have some other binary format. B) The
envelope data may not be formatted properly. If this is an X12 data file, please verify that the
ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must
have either a UNA or begin with UNB. For other standards, verify that the envelope segments
conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
at com.edifecs.shared.jni.xdata.INativeToXData.ExecuteNative(Native Method)
at com.edifecs.shared.jni.xdata.INativeToXData.Execute(Unknown Source)
at
oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin.processIncomingDocument(CustomIDocument
Plugin.java:410)
... 7 more


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