You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Dirk Forchel (JIRA)" <ji...@apache.org> on 2017/06/16 12:33:00 UTC

[jira] [Updated] (WICKET-6399) Dequeuing of Border component with nested body fails

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

Dirk Forchel updated WICKET-6399:
---------------------------------
    Attachment: testproject3.zip

> Dequeuing of Border component with nested body fails
> ----------------------------------------------------
>
>                 Key: WICKET-6399
>                 URL: https://issues.apache.org/jira/browse/WICKET-6399
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.7.0
>            Reporter: Dirk Forchel
>            Assignee: Andrea Del Bene
>             Fix For: 6.27.0, 7.8.0, 8.0.0-M7
>
>         Attachments: myproject2.zip, testproject.zip
>
>
> 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)



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