Skip to Content
0

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

Aug 31, 2017 at 08:19 PM

196

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Ryan Crosby Aug 31, 2017 at 08:23 PM
1

Hi Wilson,

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

Regards,

Ryan Crosby

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Ryan,

my modules tab it's this way

module.png (26.6 kB)
0

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

1
Former Member
Ryan Crosby

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

1