Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-4641

RuntimeHstSiteMenuItemConfiguration causes a StackOverflowError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 13.2.0, 13.2.1, 13.3.0
    • Fix Version/s: 13.3.1, 13.4.0, 14.0.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Platform
    • Sprint:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: