cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.aii.utilxi.misc.api.BaseRuntimeException:while trying to invoke the method javax.xml.parsers.SAXParserFactory.newSAXParser() of a null objec~

former_member187447
Participant
0 Kudos

Hi

All the mapping scenarios which were were working fine suddenly started failing with the following error

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">GENERIC</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_Inbound_Delivery_Create_Out_TO_~</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>

<SAP:P3>while trying to invoke the method javax.xml.parser</SAP:P3>

<SAP:P4>s.SAXParserFactory.newSAXParser() of a null objec~</SAP:P4>

<SAP:AdditionalText />

<SAP:Stack>com/sap/xi/tf/ XXXXXXXXXXXX_TO_~com.sap.aii.utilxi.misc.api.BaseRuntimeException:while trying to invoke the method javax.xml.parsers.SAXParserFactory.newSAXParser() of a null objec~</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>



the Pi trace is looks like this.


Thrown:

com.sap.aii.utilxi.misc.api.BaseRuntimeException: while trying to invoke the method javax.xml.parsers.SAXParserFactory.newSAXParser() of a null object loaded from static field com.sap.aii.mappingtool.tf7.rt.xparser.MTSaxHandler.saxParserFactory

  at com.sap.aii.mappingtool.tf7.Transformer.checkParserException(Transformer.java:193)






We already did a full PI recycle, but i am still getting the same error.


Accepted Solutions (1)

Accepted Solutions (1)

Muniyappan
Active Contributor
0 Kudos

Hi,

can you take the input message from sxmb_moni and test the same in the message mapping?

see if you can get any.

Regards,

Muniyappan.

former_member187447
Participant
0 Kudos

I am getting the result fine in the ESR tool, like i said all the mappings are having the same error except for the mapping name in the error message, which is strange. And i am reprocessing the same messages which were successful yesterday but failing today.

Muniyappan
Active Contributor
0 Kudos

Hi,

is this relevant to your issue?

Regards,

Muniyappan.

former_member184720
Active Contributor
0 Kudos

I think this is a bug -

Can you check if the below note is applicable to you?

1925194 - PI mapping error - SAXParserFactory.newSAXParser

former_member187447
Participant
0 Kudos

THis is the same error. Even Muniyappan is referring to the same note which resolves this. But the thing is i dont have any XSLT mappings. Not sure if i can apply this.

Muniyappan
Active Contributor
0 Kudos

Hi Kalyan,

hareesh mentioned note should solve the issue.i think.

it exactly matches your error description.

Regards,

Muniyappan.

former_member187447
Participant
0 Kudos

Yeah i have asked the basis to apply the new patches and see what happens.

former_member184720
Active Contributor
0 Kudos

Hi Kalyan - Doesn't matter whether you have XSLT or not. It should address your issue.


former_member187447
Participant
0 Kudos

The fix worked. thanks both of you.

Answers (0)