« Return to Thread: devutils -- A child with id 'debug' already exists

Re: devutils -- A child with id 'debug' already exists

by Antony Stubbs :: Rate this Message:

Reply to Author | View in Thread

I get the same thing. But it's just a cosmetic problem because if you  
reload the page - it does indeed get enabled.

Sent from my iPhone
http://friendfeed.com/astubbs

On 31/05/2009, at 6:14 AM, Ryan McKinley <ryantxu@...> wrote:

> I'm trying out the new devuitls package.
>
> When I:
> - checkout /trunk
> - clean install
> - run examples
> - (from any page)
>   - click on the "Live Sessions Page" link in the debug header
>   - click "Enable request recording"
>
> i get this error:
>
> ERROR - RequestCycle               - A child with id 'debug' already  
> exists:
> [Page class = org.apache.wicket.devutils.inspector.LiveSessionsPage,
> id = 0, version = 1, ajax = 0]
> java.lang.IllegalArgumentException: A child with id 'debug' already  
> exists:
> [Page class = org.apache.wicket.devutils.inspector.LiveSessionsPage,
> id = 0, version = 1, ajax = 0]
>    at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:145)
>    at  
> org.
> apache.wicket.devutils.DevUtilsPage.onBeforeRender(DevUtilsPage.java:
> 61)
>    at  
> org.apache.wicket.Component.internalBeforeRender(Component.java:1063)
>    at org.apache.wicket.Component.beforeRender(Component.java:1097)
>    at org.apache.wicket.Component.prepareForRender(Component.java:
> 2242)
>    at org.apache.wicket.Component.prepareForRender(Component.java:
> 2269)
>    at org.apache.wicket.Page.renderPage(Page.java:893)
>    at  
> org.
> apache.
> wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:
> 166)
>
>
> Any thoughts?
___________________________
http://stubbisms.wordpress.com

 « Return to Thread: devutils -- A child with id 'debug' already exists