Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3652

Switch views from calendar view back to table view, exception.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 2.0.0-RC3
    • 2.0.0-RC4
    • Viewer Wicket
    • None

    Description

      demonstrable in simpleapp.

       

      git checkout CAUSEWAY-3652-jpa

      mvnd clean install -DskipTests

      mvn -Dwebapp spring-boot:run

       

      sven/pass

       

      Prototyping > Run Fixture Script

       

      navigate to home page ... with the parented collection, can switch between all views with no problems

       

      but if instead Simple Objects > List All

      then return a standalone collection ... can switch to Calendar or Summary view, but switching back to Table view throws exception:

       

       

      full stack trace:

       

      • org.apache.wicket.WicketRuntimeException
      • Unable to create page from class org.apache.causeway.viewer.wicket.ui.pages.standalonecollection.StandaloneCollectionPage. Class does not have a visible default constructor.
      • org.apache.wicket.session.DefaultPageFactory#newPage(DefaultPageFactory.java:80)
      • org.apache.causeway.viewer.wicket.viewer.wicketapp._PageFactory#newPage(_PageFactory.java:71)
      • org.apache.wicket.DefaultMapperContext#newPageInstance(DefaultMapperContext.java:90)
      • org.apache.wicket.core.request.handler.PageProvider$Provision#getPage(PageProvider.java:369)
      • org.apache.wicket.core.request.handler.PageProvider#getPageInstance(PageProvider.java:170)
      • org.apache.wicket.request.handler.render.PageRenderer#getPage(PageRenderer.java:78)
      • org.apache.wicket.request.handler.render.WebPageRenderer#renderPage(WebPageRenderer.java:102)
      • org.apache.wicket.request.handler.render.WebPageRenderer#respond(WebPageRenderer.java:195)
      • org.apache.wicket.core.request.handler.RenderPageRequestHandler#respond(RenderPageRequestHandler.java:202)
      • org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:910)
      • org.apache.wicket.request.RequestHandlerExecutor#execute(RequestHandlerExecutor.java:63)
      • org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:294)
      • org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:255)
      • org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:277)
      • org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:208)
      • org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:307)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.apache.causeway.core.webapp.modules.logonlog.CausewayLogOnExceptionFilter#doFilter(CausewayLogOnExceptionFilter.java:60)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.springframework.web.filter.FormContentFilter#doFilterInternal(FormContentFilter.java:93)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:117)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.springframework.web.filter.CharacterEncodingFilter#doFilterInternal(CharacterEncodingFilter.java:201)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:117)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.apache.catalina.core.StandardWrapperValve#invoke(StandardWrapperValve.java:168)
      • org.apache.catalina.core.StandardContextValve#invoke(StandardContextValve.java:90)
      • org.apache.catalina.authenticator.AuthenticatorBase#invoke(AuthenticatorBase.java:481)
      • org.apache.catalina.core.StandardHostValve#invoke(StandardHostValve.java:130)
      • org.apache.catalina.valves.ErrorReportValve#invoke(ErrorReportValve.java:93)
      • org.apache.catalina.core.StandardEngineValve#invoke(StandardEngineValve.java:74)
      • org.apache.catalina.connector.CoyoteAdapter#service(CoyoteAdapter.java:342)
      • org.apache.coyote.http11.Http11Processor#service(Http11Processor.java:390)
      • org.apache.coyote.AbstractProcessorLight#process(AbstractProcessorLight.java:63)
      • org.apache.coyote.AbstractProtocol$ConnectionHandler#process(AbstractProtocol.java:928)
      • org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun(NioEndpoint.java:1794)
      • org.apache.tomcat.util.net.SocketProcessorBase#run(SocketProcessorBase.java:52)
      • org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker(ThreadPoolExecutor.java:1191)
      • org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run(ThreadPoolExecutor.java:659)
      • org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run(TaskThread.java:61)
      • java.lang.Thread#run(Thread.java:829)
      •  
      • Caused by:
      •  
      • java.lang.NoSuchMethodException
      • org.apache.causeway.viewer.wicket.ui.pages.standalonecollection.StandaloneCollectionPage.<init>()
      • java.lang.Class#getConstructor0(Class.java:3349)
      • java.lang.Class#getDeclaredConstructor(Class.java:2553)
      • org.apache.wicket.session.DefaultPageFactory#newPage(DefaultPageFactory.java:65)
      • org.apache.causeway.viewer.wicket.viewer.wicketapp._PageFactory#newPage(_PageFactory.java:71)
      • org.apache.wicket.DefaultMapperContext#newPageInstance(DefaultMapperContext.java:90)
      • org.apache.wicket.core.request.handler.PageProvider$Provision#getPage(PageProvider.java:369)
      • org.apache.wicket.core.request.handler.PageProvider#getPageInstance(PageProvider.java:170)
      • org.apache.wicket.request.handler.render.PageRenderer#getPage(PageRenderer.java:78)
      • org.apache.wicket.request.handler.render.WebPageRenderer#renderPage(WebPageRenderer.java:102)
      • org.apache.wicket.request.handler.render.WebPageRenderer#respond(WebPageRenderer.java:195)
      • org.apache.wicket.core.request.handler.RenderPageRequestHandler#respond(RenderPageRequestHandler.java:202)
      • org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:910)
      • org.apache.wicket.request.RequestHandlerExecutor#execute(RequestHandlerExecutor.java:63)
      • org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:294)
      • org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:255)
      • org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:277)
      • org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:208)
      • org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:307)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.apache.causeway.core.webapp.modules.logonlog.CausewayLogOnExceptionFilter#doFilter(CausewayLogOnExceptionFilter.java:60)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.springframework.web.filter.FormContentFilter#doFilterInternal(FormContentFilter.java:93)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:117)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.springframework.web.filter.CharacterEncodingFilter#doFilterInternal(CharacterEncodingFilter.java:201)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:117)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:178)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:153)
      • org.apache.catalina.core.StandardWrapperValve#invoke(StandardWrapperValve.java:168)
      • org.apache.catalina.core.StandardContextValve#invoke(StandardContextValve.java:90)
      • org.apache.catalina.authenticator.AuthenticatorBase#invoke(AuthenticatorBase.java:481)
      • org.apache.catalina.core.StandardHostValve#invoke(StandardHostValve.java:130)
      • org.apache.catalina.valves.ErrorReportValve#invoke(ErrorReportValve.java:93)
      • org.apache.catalina.core.StandardEngineValve#invoke(StandardEngineValve.java:74)
      • org.apache.catalina.connector.CoyoteAdapter#service(CoyoteAdapter.java:342)
      • org.apache.coyote.http11.Http11Processor#service(Http11Processor.java:390)
      • org.apache.coyote.AbstractProcessorLight#process(AbstractProcessorLight.java:63)
      • org.apache.coyote.AbstractProtocol$ConnectionHandler#process(AbstractProtocol.java:928)
      • org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun(NioEndpoint.java:1794)
      • org.apache.tomcat.util.net.SocketProcessorBase#run(SocketProcessorBase.java:52)
      • org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker(ThreadPoolExecutor.java:1191)
      • org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run(ThreadPoolExecutor.java:659)
      • org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run(TaskThread.java:61)
      • java.lang.Thread#run(Thread.java:829)

       

       

       

       

      Attachments

        1. image-2023-12-01-17-21-39-251.png
          28 kB
          Daniel Keir Haywood
        2. image-2023-12-01-17-23-11-958.png
          319 kB
          Daniel Keir Haywood

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: