Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4641

RuntimeHstSiteMenuItemConfiguration causes a StackOverflowError

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 13.2.0, 13.2.1, 13.3.0
    • 13.3.1, 13.4.0, 14.0.0
    • None
    • None
    • Platform 215

    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.

       

      1. Run hippo-connect project.
      2. In DocumentationDocument.java file, change the name of method getParagraphs to any other name and update its caller references.
      3. When you open a page that includes content blocks would fail now (eg: https://documentation.bloomreach.com/library/about/understand-brxm.html).

      Attachments

        Activity

          People

            Unassigned Unassigned
            ekarakus Erdem Karakus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: