Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.2, 2.1.0
    • Component/s: console
    • Labels:
      None

      Description

      Despite being considered a drop-in replacement for 7.4.0, upgrading Wicket to 7.5.0 seems to cause several issues.

      Even applying the fixes and workarounds [1] [2] provided by the Wicket community, when going to almost any page but Dashboard and Logs, a stacktrace is returned:

      org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. Possible reasons could be that: 1) you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered), 2) if your components were added in a parent container then make sure the markup for the child container includes them in <wicket:extend>.
      
      1. [Fragment [Component id = required]]
      2. [Fragment [Component id = externalAction]]
      3. [Fragment [Component id = required]]
      4. [Fragment [Component id = externalAction]]
      5. [Fragment [Component id = required]]
      6. [Fragment [Component id = externalAction]]
      7. [Fragment [Component id = required]]
      8. [Fragment [Component id = externalAction]]
      9. [Fragment [Component id = required]]
      10. [Fragment [Component id = externalAction]]
      11. [Fragment [Component id = required]]
      12. [Fragment [Component id = externalAction]]
      13. [ListView [Component id = buttons]]
      14. [ListItem [Component id = 0]]
      15. [DefaultModalCloseButton [Component id = button]]
      16. [ListView [Component id = inputs]]
      17. [ListView [Component id = buttons]]
      18. [ListItem [Component id = 0]]
      19. [DefaultModalCloseButton [Component id = button]]
      20. [ListView [Component id = inputs]]
      21. [ListView [Component id = buttons]]
      22. [ListItem [Component id = 0]]
      23. [DefaultModalCloseButton [Component id = button]]
      24. [ListView [Component id = inputs]]
      25. [ListItem [Component id = 0]]
      26. [AjaxSubmitLink [Component id = submit]]
      27. [ListView [Component id = buttons]]
      28. [ListItem [Component id = 0]]
      29. [DefaultModalCloseButton [Component id = button]]
      30. [ListView [Component id = inputs]]
      31. [ListView [Component id = buttons]]
      32. [ListItem [Component id = 0]]
      33. [DefaultModalCloseButton [Component id = button]]
      34. [ListView [Component id = inputs]]
      35. [Fragment [Component id = required]]
      36. [Fragment [Component id = externalAction]]
      
              at org.apache.wicket.Page.checkRendering(Page.java:666) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.Page.onAfterRender(Page.java:821) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.markup.html.WebPage.onAfterRender(WebPage.java:224) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.Component.afterRender(Component.java:932) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.Component.render(Component.java:2353) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.Page.renderPage(Page.java:1018) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-7.4.0.jar:7.4.0]
              at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70) ~[wicket-native-websocket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) ~[wicket-core-7.5.0.jar:7.5.0]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) ~[catalina.jar:8.5.6]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) ~[catalina.jar:8.5.6]
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[catalina.jar:8.5.6]
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) ~[catalina.jar:8.5.6]
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) ~[catalina.jar:8.5.6]
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) ~[catalina.jar:8.5.6]
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[catalina.jar:8.5.6]
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) ~[catalina.jar:8.5.6]
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) ~[catalina.jar:8.5.6]
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) ~[catalina.jar:8.5.6]
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784) ~[tomcat-coyote.jar:8.5.6]
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:8.5.6]
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802) ~[tomcat-coyote.jar:8.5.6]
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410) ~[tomcat-coyote.jar:8.5.6]
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.6]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.5.6]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
      

      [1] https://lists.apache.org/thread.html/7f67ee706e43408bfa401f262e93e8ba2efa185fa9e024cae514f544@%3Cusers.wicket.apache.org%3E
      [2] https://lists.apache.org/thread.html/327de4353d993186a41517ffe7925c6e3b8872da0527ec9969889b77@%3Cusers.wicket.apache.org%3E

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdisabatino Marco Di Sabatino Di Diodoro
                Reporter:
                ilgrosso Francesco Chicchiriccò
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: