B2B THROWS ARRAY ERROR PROCESSING MULTIPLE EDIFACT DOCUMENTS IN A FEED DATA FILE (Doc ID 1599341.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle SOA Suite - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.6.0 version, B2B Engine

If a feed data file has only 1 EDIFACT document, there is no problem.
If there are multiple 
EDIFACT documents in a feed data file it will throw an array error


ERROR
-----------------------
[2013-03-28T13:13:18.317+09:00] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [APP: soa-infra] java.lang.ArrayIndexOutOfBoundsException[[

###adding hashkey part #### please check the has key as 125
2013-03-28T13:13:16.345+09:00] EDIDocumentPlugin: processTrnNode: added Hash Key = 1AALTEACM:OZDWH:CSMPRR:125:1AALTEACM:OZDWH
[2013-03-28T13:13:16.354+09:00] EDIDocumentPlugin: processTrnNode: added Hash Key = 1AALTEACM:OZDWH:BIDBRR:124:1AALTEACM:OZDWH
[2013-03-28T13:13:16.363+09:00] EDIDocumentPlugin: processTrnNode: added Hash Key = 1AALTEACM:OZDWH:CCPRRR:1210:1AALTEACM:OZDWH
[2013-03-28T13:13:16.373+09:00] EDIDocumentPlugin: processTrnNode: added Hash Key = 1AALTEACM:OZDWH:CHDWRR:121:1AALTEACM:OZDWH
Hash key를 125 와 같은 형식으로 add함.
###extracting with different version as 12.5
[2013-03-28T13:13:18.315+09:00] EDIDocumentPlugin: extractFromPayload: InterchangeSenderID = 1AALTEACM
[2013-03-28T13:13:18.315+09:00] EDIDocumentPlugin: extractFromPayload: InterchangeReceiverID = OZDWH
[2013-03-28T13:13:18.315+09:00] EDIDocumentPlugin: extractFromPayload: TransactionID = CSMPRR
[2013-03-28T13:13:18.316+09:00] EDIDocumentPlugin: extractEFTVersionFromPayload:  Version= = 12.5
[2013-03-28T13:13:18.316+09:00] EDIDocumentPlugin: extractFromPayload: GroupSenderID = 1AALTEACM
[2013-03-28T13:13:18.316+09:00] EDIDocumentPlugin: extractFromPayload: GroupReceiverID = OZDWH
[2013-03-28T13:13:18.317+09:00] EDIDocumentPlugin: processIncomingDocument: hashKey = 1AALTEACM:OZDWH:CSMPRR:12.5:1AALTEACM:OZDWH position = -1
[2013-03-28T13:13:18.317+09:00] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [APP: soa-infra] java.lang.ArrayIndexOutOfBoundsException[[



[2013-03-28T13:13:18.315+09:00] EDIDocumentPlugin: extractFromPayload: InterchangeSenderID = 1AALTEACM
[2013-03-28T13:13:18.315+09:00] EDIDocumentPlugin: extractFromPayload: InterchangeReceiverID = OZDWH
[2013-03-28T13:13:18.315+09:00] EDIDocumentPlugin: extractFromPayload: TransactionID = CSMPRR
[2013-03-28T13:13:18.316+09:00] EDIDocumentPlugin: extractEFTVersionFromPayload:  Version= = 12.5
[2013-03-28T13:13:18.316+09:00] EDIDocumentPlugin: extractFromPayload: GroupSenderID = 1AALTEACM
[2013-03-28T13:13:18.316+09:00] EDIDocumentPlugin: extractFromPayload: GroupReceiverID = OZDWH
[2013-03-28T13:13:18.317+09:00] EDIDocumentPlugin: processIncomingDocument: hashKey = 1AALTEACM:OZDWH:CSMPRR:12.5:1AALTEACM:OZDWH position = -1
[2013-03-28T13:13:18.317+09:00] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [APP: soa-infra] java.lang.ArrayIndexOutOfBoundsException[[


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) import uploaded MDS file
2) copy test feed file to the target folder for listening file channel.


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