Skip to Content
avatar image
Former Member

Operation Mapping getting failed while testing end to end in PI7.31:Parsing Error


Hi All,

We have migrated one scenario from PI7.1 to PI7.31.

Scenario is : File to Idoc, Multimapping, where, from one xml  two Idocs are getting generated at Receiver end.

When we are testing a payload locally, 2 Idocs are getting generated successfully.

But when we are performng test end to end, Its faling in Operation mapping after picking the file ,  giving below error :

Mapping "http://XXXXX_OM" failed to execute: MappingException: Parsing of the multi-structure document failed. , javax.xml.stream.XMLStreamException: No element was found to write: java.lang.ArrayIndexOutOfBoundsException: -1, ArrayIndexOutOfBoundsException: -1

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.service.mapping.MappingException: Parsing of the multi-structure document failed.

Please guide to resolve this issue .

Thanks & Regards,

Abhivyakti

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 04, 2013 at 03:10 PM

    Hi Meenakshi -

    Please see SAP Note 1774773 - AEX: Multi Mapping fails for multiple msgs for one interface

    Also below thread will be helpful

    http://scn.sap.com/thread/3333420

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 04, 2013 at 03:22 PM

    Hello,

    I have also faced the similar issue on PI7.31 SP05 (even after applying the fixes mentioned in 1774773 note), and eventually upgraded PO box to SP09 to solve multimapping bug.

    Thanks

    Amit Srivastava

    Add comment
    10|10000 characters needed characters exceeded

    • Hello,

      What's the SP of ur PI box? Try to create only one idoc message and check the message status?

      >>Are both these error messages logically same ?

      Precisely speaking, i was also not getting the exact error message but the main reason for the failure of message was "ArrayIndexOutOfBoundException" while using multimapping (i was getting this error when more than 1 idoc message was created at runtime).

      >>Does this means 1:N scenario is not supported below PI7.31 SP09 ?

      Earlier i was using PI7.31 SP05, but even after applying SAP note fixes the error persist, so SAP recommended us to upgrade our PO box to SP09. So, it's always better to go for a higher SP.

      Thanks

      Amit Srivastava

  • avatar image
    Former Member
    Dec 04, 2013 at 05:17 PM

    Hi Meenakshi,

    I think this error occurred because there is no xml message in the input payload. please check that one or can you provide the xml example and the mapping screen shot, to know the  issue better.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Pavan,

      I have checked , there are xml messages available as input.Because when I am checking payload associated with the same error log in MDT, could find the entire xml payload there, which is running perfectly in esr.

      Screen for Mapping attached.


      Anything else , that can be checked.

      Thanks,

      Abhi

      map.JPG (44.0 kB)