cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in XML Parser (format problem?)

former_member529475
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vasu,

Just do some work with BIC Mapping Designer

Test your Standard mapping program in BIC by providing the sample input data, whether it is converting the required format or not.

If there is any problem in converting means, this will throw the error here itself.

Regards

Seshagiri

former_member529475
Active Contributor
0 Kudos

Hi Seshagiri,

Thanks for your quick response.

I tested in the Mapping, we are getting the expected structure in expected sequence. We are getting error at the time of Module Development..

With out module development, it is working...

Any other clues...

Regards,

Vasu

Former Member
0 Kudos

Hi Vasu,

Not in the Mapping of IR.

In BIC Mapping Designer you have to test with the standard Mappings by providing the sample file whether the Conversion is happening correctly or not.

You have to take the same input file that what ever you are having now.

So that it will say clearly what is the problem in converting the XMLto the required EDI Format...

Check whether you have any Date Format Values are comming from the input file.

Regards

Seshagiri

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you plz tell me your SP level in XI or PI, because this problem also comes if you have SP level is above SP19 in XI3.0.

If above is the case then you have to write to SAP for the problem.

Regards,

Sarvesh