Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-792

StackOverflow when disposing the EmbeddableComponentManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.1-milestone-1
    • 6.4
    • Component
    • None
    • Unit
    • N/A
    • N/A

    Description

      This is because it's possible that some component's implementation be EmbeddableComponentManager, in which case when ECM.dispose() is called a stack overflow appears.

      For example if you do the following in a unit tests you'll get a stack overflow:

      this.componentManager.registerComponent(ComponentManager.class, "context", this.componentManager);
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: