Description
if you put a single wicket:container in a wicket:enclosure, it will NPE looking for a "child" attribute. you can work around by either changing the container to a div (in which case it will correctly default to the single child) or by adding a child="name" attribute to the enclosure to explicitly specify the single child.
Caused by: java.lang.NullPointerException
at org.apache.wicket.markup.resolver.EnclosureResolver.resolve(EnclosureResolver.java:59)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1324)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1476)
at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:639)
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
at org.apache.wicket.Component.renderComponent(Component.java:2478)
... 47 common frames omitted