org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: [TreeTableItem [Component id = 0]]

GitHub | dashorst | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    TreeTable doesn't render due to missing markup exception with Wicket 7.0

    GitHub | 2 years ago | dashorst
    org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: [TreeTableItem [Component id = 0]]

    Root Cause Analysis

    1. org.apache.wicket.markup.MarkupNotFoundException

      Markup not found for Component: [TreeTableItem [Component id = 0]]

      at org.apache.wicket.Component.internalRender()
    2. Wicket Core
      Component.render
      1. org.apache.wicket.Component.internalRender(Component.java:2347)
      2. org.apache.wicket.Component.render(Component.java:2307)
      2 frames
    3. Wicket Extensions
      SideColumnsView.onRender
      1. org.apache.wicket.extensions.markup.html.tree.table.SideColumnsView.onRender(SideColumnsView.java:104)
      1 frame
    4. Wicket Core
      RequestCycle$HandlerExecutor.respond
      1. org.apache.wicket.Component.internalRender(Component.java:2379)
      2. org.apache.wicket.Component.render(Component.java:2307)
      3. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1407)
      4. org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1604)
      5. org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1579)
      6. org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:691)
      7. org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:77)
      8. org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
      9. org.apache.wicket.Component.internalRenderComponent(Component.java:2564)
      10. org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1543)
      11. org.apache.wicket.Component.internalRender(Component.java:2379)
      12. org.apache.wicket.Component.render(Component.java:2307)
      13. org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1407)
      14. org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1604)
      15. org.apache.wicket.Page.onRender(Page.java:879)
      16. org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:143)
      17. org.apache.wicket.Component.internalRender(Component.java:2379)
      18. org.apache.wicket.Component.render(Component.java:2307)
      19. org.apache.wicket.Page.renderPage(Page.java:1018)
      20. org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
      21. org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)
      22. org.apache.wicket.util.tester.BaseWicketTester$LastPageRecordingPageRendererProvider$1.respond(BaseWicketTester.java:2741)
      23. org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
      24. org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
      24 frames
    5. Wicket Request
      RequestHandlerStack.execute
      1. org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      1 frame
    6. Wicket Core
      BaseWicketTester.startPage
      1. org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
      2. org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
      3. org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
      4. org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTester.java:717)
      5. org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTester.java:656)
      6. org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTester.java:628)
      7. org.apache.wicket.util.tester.BaseWicketTester.startPage(BaseWicketTester.java:1261)
      8. org.apache.wicket.util.tester.BaseWicketTester.startPage(BaseWicketTester.java:1234)
      8 frames
    7. Wicket Extensions
      TreeTablePageTest.pageRenders
      1. org.apache.wicket.extensions.markup.html.tree.TreeTablePageTest.pageRenders(TreeTablePageTest.java:10)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      13 frames
    10. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    11. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames