cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.StackOverflowError in SAP PO

Former Member
0 Likes
2,937

Hello Guys,

We are receiving failed messages in SAP PO single stack.

Following are the error details.

Mapping "xyz_mapping" failed to execute: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.StackOverflowError, RuntimeException: java.lang.StackOverflowError, java.lang.StackOverflowError


Transmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.service.mapping.MappingException: Unexpected exception caught while executing mapping: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.StackOverflowError


Scenario - Message flows from ECC to SFDC through PO for updating order details

Analysis done from our side:

--> We found that order which are failed contains very long text at header level due to which source payload contains very big size and message failed.

--> But after doing further analysis we found that multiple idoc triggered for the same order and some idocs reached successfully to receiver side & some are still in the system error,

--> while executing input payload directly in ESR mapping, same stackoverflow error occurred in production system, but we are not facing this issue in development & quality system

--> one more point for your reference, currently our system upgraded to Support pack 16.

Kindly provide your valuable inputs.

Thanks & Regards,

Riya


View Entire Topic
pvishnuvardan_reddy
Active Contributor
0 Likes

Hi Riya,

Did you check with your basis team whether there is any OOM(out of memory issue) occurring in PO system.

Also, are you facing this issue for any particular interface message flow or for all?

Please let us know your PI version you are working on.

Former Member
0 Likes

Hello Vishu,

We are not facing this issue evertime.. that indicates there is no out of memory issue from my point of view -- i m not sure

And yes i faced this issue for particular interface only.

Please find below version details.

Java version:    1.6.0_22

Java vendor:    Sun Microsystems Inc.

Version

Service Pack:   16

Release:            NW731EXT_16_REL

Please let me know your inputs that would be very helpful.

Thanks & Regards,

Riya