Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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


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. 



Veena ✌


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

2 Replies


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