You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (Jira)" <ji...@apache.org> on 2020/01/30 20:33:00 UTC

[jira] [Created] (WICKET-6742) Stacktrace in Fragment example

Emond Papegaaij created WICKET-6742:
---------------------------------------

             Summary: Stacktrace in Fragment example
                 Key: WICKET-6742
                 URL: https://issues.apache.org/jira/browse/WICKET-6742
             Project: Wicket
          Issue Type: Bug
          Components: wicket-examples
    Affects Versions: 8.6.1, 9.0.0-M4
            Reporter: Emond Papegaaij


When opening the fragment example (part of component reference), you get the following stacktrace:
{code}
Unexpected RuntimeException
Last cause: No Markup found for Fragment fragmentid in providing markup container [Page class = org.apache.wicket.examples.compref.FragmentPage, id = 7, render count = 0]

Stacktrace
Root cause:

org.apache.wicket.markup.MarkupNotFoundException: No Markup found for Fragment fragmentid in providing markup container [Page class = org.apache.wicket.examples.compref.FragmentPage, id = 7, render count = 0]
     at org.apache.wicket.markup.html.panel.FragmentMarkupSourcingStrategy.getMarkup(FragmentMarkupSourcingStrategy.java:148)
     at org.apache.wicket.markup.html.panel.Fragment.newDequeueContext(Fragment.java:139)
     at org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1855)
     at org.apache.wicket.MarkupContainer.dequeueChild(MarkupContainer.java:2018)
     at org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1983)
     at org.apache.wicket.MarkupContainer.dequeuePreamble(MarkupContainer.java:1931)
     at org.apache.wicket.MarkupContainer.dequeue(MarkupContainer.java:1856)
     at org.apache.wicket.MarkupContainer.onInitialize(MarkupContainer.java:1887)
     at org.apache.wicket.Page.onInitialize(Page.java:298)
     at org.apache.wicket.Component.fireInitialize(Component.java:875)
     at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1038)
     at org.apache.wicket.Page.isPageStateless(Page.java:461)
     at org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:473)
     at org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:420)
     at org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:210)
     at org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:454)
     at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:233)
     at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:202)
{code}



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