Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2249

Rendering an empty If component can cause a RenderQueueException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-core
    • None

    Description

      Rendering an empty If component causes the following error:

      00:37:07.680 ERROR My5oosh - Render queue error in PostRenderCleanup[My5oosh:layout.if]: Component My5oosh:layout.if has rendered unbalanced elements; either it has started an element with MarkupWriter.element() and not followed up with MarkupWriter.end(), or it has invoked MarkupWriter.end() without first invoking MarkupWriter.element().
      org.apache.tapestry5.ioc.internal.util.TapestryException: Component My5oosh:layout.if has rendered unbalanced elements; either it has started an element with MarkupWriter.element() and not followed up with MarkupWriter.end(), or it has invoked MarkupWriter.end() without first invoking MarkupWriter.element().

      I suspect this is a bug in render-phase optimization.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: