<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: java.lang.StackOverflowError in SAP PO in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282276#M4176422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vishu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;And yes i faced this issue for particular interface only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below version details. &lt;/P&gt;&lt;P&gt;Java version:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;1.6.0_22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Java vendor:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Sun Microsystems Inc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version&lt;/P&gt;&lt;P&gt;Service Pack:&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Release:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;NW731EXT_16_REL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your inputs that would be very helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Riya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 10:30:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-09-11T10:30:44Z</dc:date>
    <item>
      <title>java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaq-p/11282273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are receiving failed messages in SAP PO single stack. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the error details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11.2px;"&gt;&lt;STRONG&gt;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&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11.2px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11.2px;"&gt;&lt;STRONG style="color: #000000; font-size: 11.2px;"&gt;&lt;SPAN&gt;Transmitting the message to endpoint &amp;lt;local&amp;gt; using connection IDoc_AAE_&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sap.com/xi/XI/System"&gt;http://sap.com/xi/XI/System&lt;/A&gt;&lt;SPAN&gt; 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&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11.2px;"&gt;&lt;STRONG style="color: #000000; font-size: 11.2px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11.2px;"&gt;Scenario - Message flows from ECC to SFDC through PO for updating order details&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analysis done from our side: &lt;/P&gt;&lt;P&gt;--&amp;gt; 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. &lt;/P&gt;&lt;P&gt;--&amp;gt; But after doing further analysis we found that multiple idoc triggered for the same order and some idocs reached successfully to receiver side &amp;amp; some are still in the system error, &lt;/P&gt;&lt;P&gt;--&amp;gt; while executing input payload directly in ESR mapping, same stackoverflow error occurred in production system, but we are not facing this issue in development &amp;amp; quality system&lt;/P&gt;&lt;P&gt;--&amp;gt; one more point for your reference, currently our system upgraded to Support pack 16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide your valuable inputs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Riya&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 11.2px;"&gt;&lt;STRONG style="color: #000000; font-size: 11.2px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 10:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaq-p/11282273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-11T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282274#M4176420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check with your basis team whether there is any OOM(out of memory issue) occurring in PO system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are you facing this issue for any particular interface message flow or for all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know your PI version you are working on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 10:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282274#M4176420</guid>
      <dc:creator>pvishnuvardan_reddy</dc:creator>
      <dc:date>2015-09-11T10:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282275#M4176421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check the sap note 558250&amp;nbsp; and see if it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 10:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282275#M4176421</guid>
      <dc:creator>pvishnuvardan_reddy</dc:creator>
      <dc:date>2015-09-11T10:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282276#M4176422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vishu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;And yes i faced this issue for particular interface only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below version details. &lt;/P&gt;&lt;P&gt;Java version:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;1.6.0_22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Java vendor:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Sun Microsystems Inc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version&lt;/P&gt;&lt;P&gt;Service Pack:&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Release:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;NW731EXT_16_REL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your inputs that would be very helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Riya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 10:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282276#M4176422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-11T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282277#M4176423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Riya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell your basis team to increase the Java Heap Size(java memory allocation) in PI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also increase the heap size in your system(in control panel) and download ESR save the file and increase the heap size by opening the file in notepad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 10:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282277#M4176423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-11T10:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282278#M4176424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look for related errors in the NWA Logs around the same time as your mapping failure. This may give you more clues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, as Raghuraman said, maybe the Java heap size is different (or utilized different) between your production and test instances. For example maybe in the Instance Profile you will find: &lt;SPAN lang="EN-GB" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;jstart/stackSize = [something]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 13:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282278#M4176424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-11T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282279#M4176425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked NWA logs also and it gives me the same error that indicates "StackoverflowError"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to transmit message Message_ID(OUTBOUND). Reason: com.sap.aii.af.service.mapping.MappingException: Unexpected exception caught while executing mapping: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.StackOverflowErr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basis team has also checked java heap size as mentioned in sap note 558250, everything seems fine from their end. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide some more details..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282279#M4176425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T06:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282280#M4176426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Riya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the content of the message? Is everything fine in that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282280#M4176426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T06:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282281#M4176427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/789181" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/789325" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer above snapshots for your reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282281#M4176427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T06:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282282#M4176428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Raghuraman, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content of message is right, but it contains very long text at header level because of which payload size gets increased. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't think that matters because sometimes it gets executed successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282282#M4176428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T06:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282283#M4176429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Riya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess maybe something wrong in the payload of the messages which is failing(invalid data/huge size)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or might me memory issues(maybe production memory/heap size is less)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282283#M4176429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T06:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282284#M4176430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raghuraman, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have never face this issue before SP upgrade and all the parameters values are also same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 07:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282284#M4176430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T07:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.StackOverflowError in SAP PO</title>
      <link>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282285#M4176431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your second screen shot shows an issue with function UseOneAsMany. Please share the relevant details of your mapping and the test payload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm with the same test payload; does it ALWAYS fail when you debug it on your production platform (message mapping test), and does the exact same payload succeed on your PI test platform? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you narrow down if you can make a change to your mapping to solve or if the solution will be in parameters of the prod server vs test server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 15:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/java-lang-stackoverflowerror-in-sap-po/qaa-p/11282285#M4176431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-14T15:18:26Z</dc:date>
    </item>
  </channel>
</rss>

