cancel
Showing results for 
Search instead for 
Did you mean: 

Maaping Error:Unexpected error while parsing multistructure document.

Former Member
0 Kudos

Hi,

We are getting below error for Idoc to File scenario. It is a standard Idoc and we have configured common ICO for 3 interfaces. It is working fine for 2 interfaces (with single and multiple Idocs) but giving error for the 3rd while testing with single and multiple Idocs.

“MappingException: Unexpected error while parsing the multi-structure document, NullPointerException: while trying to invoke the method javax.xml.stream.XMLEventWriter.add(javax.xml.stream.events.XMLEvent) of a null object loaded from local variable 'writer'”.

*Note: For same IDOC xml test run thorugh message mapping is working fine.

Please guide.

Thanks & Regards,

Nida

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184720
Active Contributor
0 Kudos

This seems to be a bug which was addressed by SAP. Please refer to the below notw

1809068 - Possible NullPointerException with multi-mapping in AEX

Former Member
0 Kudos

Hi Hareesh,

We have checked this note but as per note this patch is applicable for XI Adapter Framework sp02 and below for PI7.4.

We are using PI7.4 XI framework SP07, so Ideally this patch should be there.

Thanks,

Nida

former_member184720
Active Contributor
0 Kudos

Agreed. You might want raise an OSS message then.

0 Kudos

Hi Nida,

Did you manage to solve this issue. We are experiencing the same.

Thanks

Shalendra

Former Member
0 Kudos

Hi Shalendra,

This was due to config bug in PI-Interace determination step.By mistake we have selected 0..unbounded in interface determination.

Thanks & Regards,

Nida