Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM As Cloud | java.lang.StackOverflowError on Text component.

Avatar

Community Advisor

Hi Team 

 

      In text component , we have enabled source edit. We are trying to add base64 encoded, data uri as image source. That is causing java.lang.StackOverflowError error in the page. I saw a similar issue mentioned here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/java-lang-stackoverflowerr... . I know though we need to be using assets from DAM, I want to understand if there is any possible solution for this issue ? 

For replicating the issue , you can inspect the cat image https://dopiaza.org/tools/datauri/examples/index.php here and use it in the sourceedit of the text component. 

 

Thanks

Veena ✌

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @VeenaVikraman 

 

It sounds like the issue is because the XSS protection is not allowing you to display some characters on the page, did you try to disable this from the RTE ? Check this: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/touch-ui-rte-removing-data... Or extending the XSS protection? https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-overlay-libs-cq-xss... 

Hope this helps.



Esteban Bustamante

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @VeenaVikraman 

 

It sounds like the issue is because the XSS protection is not allowing you to display some characters on the page, did you try to disable this from the RTE ? Check this: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/touch-ui-rte-removing-data... Or extending the XSS protection? https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-overlay-libs-cq-xss... 

Hope this helps.



Esteban Bustamante

Avatar

Administrator

@VeenaVikraman Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni