Skip to Content
0
Sep 26, 2008 at 06:53 AM

Exception in XML Parser (format problem?)

108 Views

Hi Experts,

I am working on IDOC -> AS2 Configuration and the AS2 Configuration has the below structure

<RecordSet>

<Row1>

<row1 - field1>

<row1 - field2>

<row1 - field3>

</Row1>

<Row2>

<row2 - field1>

<row2 - field2>

<row2 - field3>

</Row2>

<Records>

<Record1>

<Record1-Field1>

<Record1-Field1>

<Record1-Field1>

</Record1>

<Record2>

<Record2-Field1>

<Record2-Field1>

<Record2-Field1>

</Record2>

</Records>

</RecordSet>

We are getting the expected Structure when we AS2 Receiver has the xml format. But while doing module development with the strctxml2Plain, we are getting the below error in RWB CC Monitoring.

Message processing failed. Cause: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException'

Any ideas, why this error we are getting.....

Thanks in advance,

Regards,

Vasu