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

Rendering an empty If component can cause a RenderQueueException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: