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