You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (Jira)" <ji...@apache.org> on 2020/06/10 15:41:00 UTC

[jira] [Assigned] (WICKET-6734) Markup not found for Component within TransparentWebMarkupContainer and Border

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

Andrea Del Bene reassigned WICKET-6734:
---------------------------------------

    Assignee: Andrea Del Bene

> Markup not found for Component within TransparentWebMarkupContainer and Border
> ------------------------------------------------------------------------------
>
>                 Key: WICKET-6734
>                 URL: https://issues.apache.org/jira/browse/WICKET-6734
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.6.1
>            Reporter: Dirk Forchel
>            Assignee: Andrea Del Bene
>            Priority: Major
>         Attachments: myproject.zip
>
>
> Clicking an AjaxLink added to a Panel with a TransparentWebMarkupContainer added to a Border results in a MarkupNotFoundException (see stacktrace below).
> The attached quickstart demonstrates the problem. Here you can find 3 test pages all with a TransparentWebMarkupContainer on the left side and with a WebMarkupContainer on the right side. Each of them contains the same test component with a Label component and a AjaxLink. The label component just shows the belonging markup as String. Clicking the "dismiss" link should hide this component.
> At the first page both components and their container are added to the page itself. At the second page both components are added to the border body container of a Border component. At the third page both components are added to a "Layout" container (a Border component too).
> On the first page clicking the links hides both components. On the second and third page this works only forĀ  components added to the WebMarkupContainer (the examples on the right side).
> org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: [TestPanel [Component id = test1]]
>  at org.apache.wicket.Component.internalRender(Component.java:2267)
>  at org.apache.wicket.Component.render(Component.java:2227)
>  at org.apache.wicket.Component.renderPart(Component.java:2204)
>  at org.apache.wicket.page.XmlPartialPageUpdate.writeComponent(XmlPartialPageUpdate.java:75)
>  at org.apache.wicket.page.PartialPageUpdate.writeComponents(PartialPageUpdate.java:262)
>  at org.apache.wicket.page.PartialPageUpdate.writeTo(PartialPageUpdate.java:161)
>  at org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:361)
>  at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
>  at org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
>  at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
>  at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
>  at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>  at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:275)
>  at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>  at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
>  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
>  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
>  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
>  at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
>  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
>  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
>  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
>  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
>  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
>  at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
>  at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
>  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>  at org.eclipse.jetty.server.Server.handle(Server.java:502)
>  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
>  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
>  at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
>  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>  at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411)
>  at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305)
>  at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
>  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>  at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
>  at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
>  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
>  at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)