[ 
https://issues.apache.org/jira/browse/WICKET-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-6464.
-------------------------------------
    Resolution: Duplicate

> New dequeue context for Border component fails
> ----------------------------------------------
>
>                 Key: WICKET-6464
>                 URL: https://issues.apache.org/jira/browse/WICKET-6464
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M6
>            Reporter: Dirk Forchel
>         Attachments: testproject.zip
>
>
> Accessing a page with a Border component and a nested body fails due to 
> NullpointerException. Seems to be working with new Wicket version 8.0.0-M7.
> WicketMessage: Error attaching this container for rendering: [Page class = 
> com.mycompany.front.wicket.TestPage, id = 0, render count = 1]
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.wicket.markup.html.border.Border$BorderBodyContainer.newDequeueContext(Border.java:598)
>  ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1861) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeueChild(MarkupContainer.java:2012) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1989) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeueChildrenContainer(MarkupContainer.java:2054)
>  ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeueChild(MarkupContainer.java:2021) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1989) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeuePreamble(MarkupContainer.java:1937) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1862) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.markup.html.border.Border.onConfigure(Border.java:325) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at org.apache.wicket.Component.configure(Component.java:1054) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.Component.internalBeforeRender(Component.java:938) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at org.apache.wicket.Component.beforeRender(Component.java:1016) 
> ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1749)
>  ~[wicket-core-8.0.0-M6.jar:8.0.0-M6]
>         ... 39 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to