Details
Description
Wrapper class RuntimeHstSiteMenuItemConfiguration causes a StackOverflowError while wrapping its child RuntimeHstSiteMenuItemConfiguration items because of creating wrong child wrappers.
java.lang.StackOverflowErrorjava.lang.StackOverflowError at org.hippoecm.hst.platform.configuration.RuntimeHstSiteMenuItemConfiguration.lambda$new$0(RuntimeHstSiteMenuItemConfiguration.java:48) at java.util.ArrayList.forEach(ArrayList.java:1257) at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080) at org.hippoecm.hst.platform.configuration.RuntimeHstSiteMenuItemConfiguration.<init>(RuntimeHstSiteMenuItemConfiguration.java:47) at org.hippoecm.hst.platform.configuration.RuntimeHstSiteMenuItemConfiguration.<init>(RuntimeHstSiteMenuItemConfiguration.java:41)
Steps to reproduce the problem.
- Run hippo-connect project.
- In DocumentationDocument.java file, change the name of method getParagraphs to any other name and update its caller references.
- When you open a page that includes content blocks would fail now (eg: https://documentation.bloomreach.com/library/about/understand-brxm.html).