Details
Description
Accessing a page with a Border component and a nested body a second time fails due to dequeuing problem. Find attached quickstarts (both with the same error) to reproduce the problem. First request to http://localhost:8080/test3.html succeeds while the second request to the same URL fails with the following WicketRuntimeException:
org.apache.wicket.WicketRuntimeException: Detach called on component with id 'layout' while it had a non-empty queue: ComponentQueue
{queueSize=1, queue=[[BorderBodyContainer [Component id = layout_body]], null, null, null, null, null, null, null]} at org.apache.wicket.MarkupContainer.onDetach(MarkupContainer.java:1943)
at org.apache.wicket.Component.detach(Component.java:1163)
at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1761)
at org.apache.wicket.Component.detach(Component.java:1187)
at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1761)
at org.apache.wicket.Component.detach(Component.java:1187)
at org.apache.wicket.core.request.handler.PageProvider.detach(PageProvider.java:330)
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.detach(RenderPageRequestHandler.java:156)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.detach(RequestCycle.java:906)
at org.apache.wicket.request.RequestHandlerStack.detach(RequestHandlerStack.java:180)
at org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:641)
at org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:594)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:297)
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:748)
Attachments
Attachments
Issue Links
- is duplicated by
-
WICKET-6405 WicketRuntimeException: Detach called on component with id 'ulBorder' while it had a non-empty queue
- Closed
- is related to
-
WICKET-6303 renderHead method of a Behavior added to a Border body is not called
- Resolved
-
WICKET-6306 Changing model object of Panel added to a Border not allowed
- Resolved