cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI - NullPointerException- of a null object loaded from local variable

former_member269988
Participant
0 Kudos

Hi Dear,

I try connect SAP PI with webservice (cloud) and return this error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.xi.XI.Message._30.Main.getMessageId() of a null object loaded from local variable 'main' But i don't use UDF, just a simple mapping....Anyone have an idea what it can be? I'm using SOAP adapter type and Axis to message Protocol AXIS.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Ryan-Crosby
Active Contributor

Hi Wilson,

What does the modules tab of your SOAP receiver communication channel look like?

Regards,

Ryan Crosby

former_member269988
Participant
0 Kudos

Hi Ryan,

my modules tab it's this way

Ryan-Crosby
Active Contributor

Hi Wilson,

Wouldn't the XI header be removed from the message automatically if you uncheck the option for "Keep XI Headers"? The only other thing I could suggest based on the ordering of modules would be to move the "rem" module below the "xireq" module in the chain.

Regards,

Ryan Crosby

former_member269988
Participant

Hi ryan,

I solved the problem by setting a version of the Adapter to 7.40.

Thank you so much for the help.

Regards,
Wilson Akira

Answers (2)

Answers (2)

0 Kudos

Hi Wilson:
I am having similar issue for SOAP Axis receiver and I got basis 7.50 only

But I used UDF to mapping fields. (To get response header param)

Any suggestions?

Regards.

former_member632491
Discoverer
0 Kudos

Hi i am having similar issue for SOAP Axis receiver and i am using Async-Sync bridge.

Facing same issue while getting response. Please help me with solution i am using SOAP 7.4