Cannot make border body contents visible once they were hidden
--------------------------------------------------------------

                 Key: WICKET-834
                 URL: https://issues.apache.org/jira/browse/WICKET-834
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta2, 1.3.0-beta3
            Reporter: Carlos Pita
         Attachments: border.tgz

The attached border shows/hides its content via an ajax event. Once the content 
has been hidden I get the following exception if re-showing it:

WicketMessage: Exception in rendering component: [MarkupContainer [Component id 
= _body, page = com.livra.web.components.TestHideableBorderPage, path = 
5:hideable:_body.Border$BorderBodyContainer, isVisible = true, isVersioned = 
true]]

Root cause:

java.lang.NullPointerException
at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1366)
at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1315)
at 
org.apache.wicket.markup.html.border.Border$BorderBodyContainer.onComponentTagBody(Border.java:347)
at org.apache.wicket.Component.renderComponent(Component.java:2181)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1325)
at org.apache.wicket.Component.render(Component.java:2005)
at org.apache.wicket.Component.renderComponent(Component.java:2118)
at 
org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:772)
at 
org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:672)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:522)
at 
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1038)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1108)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1177)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:500)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:261)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to