Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6217

Enclosure broken within Border/Panel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.4.0
    • 8.0.0-M2, 7.5.0
    • None
    • None

    Description

      One of our Panels that use Enclosure within a Border no longer works on Wicket 7.4.0, while on 7.3.0 it worked fine. I've created a simple application that reproduces the problem (see attachment). The stack trace looks like this:

      java.lang.IllegalArgumentException: Argument 'markup' may not be null.
      at org.apache.wicket.util.lang.Args.notNull(Args.java:41)
      at org.apache.wicket.markup.MarkupStream.<init>(MarkupStream.java:65)
      at org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:136)
      at org.apache.wicket.markup.html.internal.Enclosure.isVisible(Enclosure.java:171)
      at org.apache.wicket.Component.determineVisibility(Component.java:4403)
      at org.apache.wicket.Component.isVisibleInHierarchy(Component.java:2152)
      at org.apache.wicket.Component.isStateless(Component.java:2069)
      at org.apache.wicket.Page$2.component(Page.java:481)
      at org.apache.wicket.Page$2.component(Page.java:477)
      at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
      at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
      at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
      at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
      at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:968)
      ...

      Cheers,
      Jonas

      Attachments

        1. 6217.zip
          2 kB
          Jonas

        Activity

          People

            bitstorm Andrea Del Bene
            jonas Jonas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: