Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3991

SignInPanel prevents the page being Stateless when signing in with the "rember me" facility.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC6
    • Fix Version/s: 1.5.1
    • Component/s: wicket-auth-roles
    • Labels:
      None

      Description

      This worked fine with 1.5-RC5, so I think it is a regression.

      Start the webapp ( mvn clean jetty:run )

      Log-in with remember me checked.

      Stop the webapp

      restart it ( mvn clean jetty:run )

      The browser should re-log-on and wicket will throw a RuntimeException.
      If you refresh the browser, you are properly logged-on.

      See the attached quickstart.

      1. quickstart.zip
        21 kB
        Sylvain Vieujot
      2. quickstart2.zip
        23 kB
        Sylvain Vieujot
      3. quickstart3.zip
        25 kB
        Sylvain Vieujot
      4. quickstart4.zip
        28 kB
        Sylvain Vieujot

        Issue Links

          Activity

          Hide
          svieujot Sylvain Vieujot added a comment -

          No I think the stateless problem is solved.

          Show
          svieujot Sylvain Vieujot added a comment - No I think the stateless problem is solved.
          Hide
          mgrigorov Martin Grigorov added a comment -

          The problem in quickstart4 is solved in WICKET-4010 because the initial problem in this ticket is different (statelessness of pages).
          Is there still a problem with the statelessness or we can close this ticket ?
          If there is another problem then please open a new ticket.

          Show
          mgrigorov Martin Grigorov added a comment - The problem in quickstart4 is solved in WICKET-4010 because the initial problem in this ticket is different (statelessness of pages). Is there still a problem with the statelessness or we can close this ticket ? If there is another problem then please open a new ticket.
          Hide
          svieujot Sylvain Vieujot added a comment -

          New quickstart generating the StackOverflowError.
          To test : mvn clean test

          Show
          svieujot Sylvain Vieujot added a comment - New quickstart generating the StackOverflowError. To test : mvn clean test
          Hide
          svieujot Sylvain Vieujot added a comment -

          If it helps resolving the stack overflow I have with the quickstart3, here are my cookies :

          Name: LoggedIn
          Content: TISwiv_4tfmhVtd7lIWIM5ZeKrsT7BgHqqCGXnu5WOTEJw3k85VOzQ
          Host: 127.0.0.1
          Path: /
          Send For: Any type of connection
          Expires: Sun 25 Sep 2011 05:18:48 PM GST

          Name: __utma
          Content: 96992031.2130943675.1284332693.1314479019.1314481393.347
          Host: 127.0.0.1
          Path: /
          Send For: Any type of connection
          Expires: Tue 27 Aug 2013 02:59:36 AM GST

          Name: __utmb
          Content: 96992031.23.10.1314481393
          Host: 127.0.0.1
          Path: /
          Send For: Any type of connection
          Expires: Sun 28 Aug 2011 03:29:36 AM GST

          Name: __utmz
          Content: 96992031.1300645127.73.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
          Host: 127.0.0.1
          Path: /
          Send For: Any type of connection
          Expires: Sun 26 Feb 2012 02:59:36 PM GST

          Show
          svieujot Sylvain Vieujot added a comment - If it helps resolving the stack overflow I have with the quickstart3, here are my cookies : Name: LoggedIn Content: TISwiv_4tfmhVtd7lIWIM5ZeKrsT7BgHqqCGXnu5WOTEJw3k85VOzQ Host: 127.0.0.1 Path: / Send For: Any type of connection Expires: Sun 25 Sep 2011 05:18:48 PM GST Name: __utma Content: 96992031.2130943675.1284332693.1314479019.1314481393.347 Host: 127.0.0.1 Path: / Send For: Any type of connection Expires: Tue 27 Aug 2013 02:59:36 AM GST Name: __utmb Content: 96992031.23.10.1314481393 Host: 127.0.0.1 Path: / Send For: Any type of connection Expires: Sun 28 Aug 2011 03:29:36 AM GST Name: __utmz Content: 96992031.1300645127.73.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) Host: 127.0.0.1 Path: / Send For: Any type of connection Expires: Sun 26 Feb 2012 02:59:36 PM GST
          Hide
          svieujot Sylvain Vieujot added a comment -

          I still get the stack overflow :

          HTTP ERROR 500

          Problem accessing /wicket/bookmarkable/kmworks.quickstart.SignInErrorPage. Reason:

          Server Error

          Caused by:

          java.lang.StackOverflowError
          at java.util.HashMap.put(HashMap.java:402)
          at org.apache.wicket.util.value.ValueMap.put(ValueMap.java:443)
          at org.apache.wicket.markup.parser.TagAttributes.put(TagAttributes.java:57)
          at org.apache.wicket.markup.parser.TagAttributes.put(TagAttributes.java:28)
          at org.apache.wicket.markup.parser.XmlTag.put(XmlTag.java:405)
          at org.apache.wicket.markup.ComponentTag.putInternal(ComponentTag.java:501)
          at org.apache.wicket.markup.ComponentTag.put(ComponentTag.java:487)
          at org.apache.wicket.markup.html.form.FormComponent.onComponentTag(FormComponent.java:1304)
          at org.apache.wicket.markup.html.form.CheckBox.onComponentTag(CheckBox.java:176)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2482)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1574)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729)
          at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
          at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.Page.onRender(Page.java:904)
          at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.Page.renderPage(Page.java:1035)
          at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
          at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
          at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)
          at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:723)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          .... another few hundred of those.

          Show
          svieujot Sylvain Vieujot added a comment - I still get the stack overflow : HTTP ERROR 500 Problem accessing /wicket/bookmarkable/kmworks.quickstart.SignInErrorPage. Reason: Server Error Caused by: java.lang.StackOverflowError at java.util.HashMap.put(HashMap.java:402) at org.apache.wicket.util.value.ValueMap.put(ValueMap.java:443) at org.apache.wicket.markup.parser.TagAttributes.put(TagAttributes.java:57) at org.apache.wicket.markup.parser.TagAttributes.put(TagAttributes.java:28) at org.apache.wicket.markup.parser.XmlTag.put(XmlTag.java:405) at org.apache.wicket.markup.ComponentTag.putInternal(ComponentTag.java:501) at org.apache.wicket.markup.ComponentTag.put(ComponentTag.java:487) at org.apache.wicket.markup.html.form.FormComponent.onComponentTag(FormComponent.java:1304) at org.apache.wicket.markup.html.form.CheckBox.onComponentTag(CheckBox.java:176) at org.apache.wicket.Component.internalRenderComponent(Component.java:2482) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1574) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729) at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76) at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.Page.onRender(Page.java:904) at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105) at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224) at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147) at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:723) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) .... another few hundred of those.
          Hide
          mgrigorov Martin Grigorov added a comment -

          can you try now?

          Show
          mgrigorov Martin Grigorov added a comment - can you try now?
          Hide
          svieujot Sylvain Vieujot added a comment -

          To see the PageException, run the unit tests : mvn clean test

          Show
          svieujot Sylvain Vieujot added a comment - To see the PageException, run the unit tests : mvn clean test
          Hide
          svieujot Sylvain Vieujot added a comment -

          Add quickstart3 that also shows a PageExpired exception.
          I am not sure this is linked to the same bug though.

          Show
          svieujot Sylvain Vieujot added a comment - Add quickstart3 that also shows a PageExpired exception. I am not sure this is linked to the same bug though.
          Hide
          svieujot Sylvain Vieujot added a comment -

          One more precision : As the quickstart2 immediately crashes now on my computer, I can't really test it more.
          If it does not reproduce the error on your machine, one way to reproduce the error might be to sign in with the toto password and remember me checked ; stop the webapp ; change the hard coded "toto" password in the webapp and then restart the webapp.
          I guess this would generate the same stack overflow when the "remember me" sign in kicks in.

          Show
          svieujot Sylvain Vieujot added a comment - One more precision : As the quickstart2 immediately crashes now on my computer, I can't really test it more. If it does not reproduce the error on your machine, one way to reproduce the error might be to sign in with the toto password and remember me checked ; stop the webapp ; change the hard coded "toto" password in the webapp and then restart the webapp. I guess this would generate the same stack overflow when the "remember me" sign in kicks in.
          Hide
          svieujot Sylvain Vieujot added a comment -

          Ok, now I can reproduce the bug mentioned in the first comment.
          I guess the reason I could do that is that I did some tests on another webapp on 127.0.0.1:8080, with different credentials.
          And when I restart the quickstart, the remember me settings do not match and this leads to the error.

          I modified the new quickstart (quickstart2.zip) also, but this might not be the source of the problem anyway.

          The exception is :
          HTTP ERROR 500

          Problem accessing /wicket/bookmarkable/kmworks.quickstart.SignInErrorPage. Reason:

          Server Error

          Caused by:

          java.lang.StackOverflowError
          at org.apache.wicket.markup.MarkupFragment.get(MarkupFragment.java:138)
          at org.apache.wicket.markup.MarkupFragment.get(MarkupFragment.java:138)
          at org.apache.wicket.markup.MarkupFragment.get(MarkupFragment.java:138)
          at org.apache.wicket.markup.MarkupFragment.<init>(MarkupFragment.java:78)
          at org.apache.wicket.markup.MarkupStream.getMarkupFragment(MarkupStream.java:485)
          at org.apache.wicket.markup.MarkupFragment.find(MarkupFragment.java:157)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:95)
          at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:484)
          at org.apache.wicket.Component.getMarkup(Component.java:736)
          at org.apache.wicket.Component.internalRender(Component.java:2306)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1572)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729)
          at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
          at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
          at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
          at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
          at org.apache.wicket.Component.internalRenderComponent(Component.java:2511)
          at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
          at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
          at org.apache.wicket.Page.onRender(Page.java:904)
          at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140)
          at org.apache.wicket.Component.internalRender(Component.java:2341)
          at org.apache.wicket.Component.render(Component.java:2269)
          at org.apache.wicket.Page.renderPage(Page.java:1035)
          at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
          at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
          at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)
          at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          ... same exception repeated until it dies.

          Show
          svieujot Sylvain Vieujot added a comment - Ok, now I can reproduce the bug mentioned in the first comment. I guess the reason I could do that is that I did some tests on another webapp on 127.0.0.1:8080, with different credentials. And when I restart the quickstart, the remember me settings do not match and this leads to the error. I modified the new quickstart (quickstart2.zip) also, but this might not be the source of the problem anyway. The exception is : HTTP ERROR 500 Problem accessing /wicket/bookmarkable/kmworks.quickstart.SignInErrorPage. Reason: Server Error Caused by: java.lang.StackOverflowError at org.apache.wicket.markup.MarkupFragment.get(MarkupFragment.java:138) at org.apache.wicket.markup.MarkupFragment.get(MarkupFragment.java:138) at org.apache.wicket.markup.MarkupFragment.get(MarkupFragment.java:138) at org.apache.wicket.markup.MarkupFragment.<init>(MarkupFragment.java:78) at org.apache.wicket.markup.MarkupStream.getMarkupFragment(MarkupStream.java:485) at org.apache.wicket.markup.MarkupFragment.find(MarkupFragment.java:157) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:95) at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:484) at org.apache.wicket.Component.getMarkup(Component.java:736) at org.apache.wicket.Component.internalRender(Component.java:2306) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1572) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729) at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76) at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613) at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567) at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72) at org.apache.wicket.Component.internalRenderComponent(Component.java:2511) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638) at org.apache.wicket.Page.onRender(Page.java:904) at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140) at org.apache.wicket.Component.internalRender(Component.java:2341) at org.apache.wicket.Component.render(Component.java:2269) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105) at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224) at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147) at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) ... same exception repeated until it dies.
          Hide
          svieujot Sylvain Vieujot added a comment -

          Well apart from those tests, it fixes the problem.
          Thank you Martin !

          Show
          svieujot Sylvain Vieujot added a comment - Well apart from those tests, it fixes the problem. Thank you Martin !
          Hide
          mgrigorov Martin Grigorov added a comment -

          Unfortunately now FileUploadField tests are broken because of the last change...
          Need to reconsider.

          Show
          mgrigorov Martin Grigorov added a comment - Unfortunately now FileUploadField tests are broken because of the last change... Need to reconsider.
          Hide
          mgrigorov Martin Grigorov added a comment -

          Fixed the failure with wrong credentials too.
          Update to r1162058 and try again.

          Show
          mgrigorov Martin Grigorov added a comment - Fixed the failure with wrong credentials too. Update to r1162058 and try again.
          Hide
          svieujot Sylvain Vieujot added a comment -

          The above stateless error is still there when the credentials are wrong.

          But I can't reproduce the the RequestHandlerStack anymore.
          I will check that but the problem seems to be gone.

          Show
          svieujot Sylvain Vieujot added a comment - The above stateless error is still there when the credentials are wrong. But I can't reproduce the the RequestHandlerStack anymore. I will check that but the problem seems to be gone.
          Hide
          svieujot Sylvain Vieujot added a comment -

          First, there is still an exception in the current quickstart if you enter a wrong password :

          ERROR - DefaultExceptionMapper - Unexpected error occurred
          java.lang.IllegalArgumentException: '[Page class = kmworks.quickstart.HomePage, id = 0, render count = 1]' claims to be stateless but isn't. Possible reasons: no stateless hint, statefull behaviors
          at org.apache.wicket.devutils.stateless.StatelessChecker.onBeforeRender(StatelessChecker.java:92)
          at org.apache.wicket.application.ComponentOnBeforeRenderListenerCollection$1.notify(ComponentOnBeforeRenderListenerCollection.java:38)
          at org.apache.wicket.application.ComponentOnBeforeRenderListenerCollection$1.notify(ComponentOnBeforeRenderListenerCollection.java:35)
          at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:79)
          at org.apache.wicket.application.ComponentOnBeforeRenderListenerCollection.onBeforeRender(ComponentOnBeforeRenderListenerCollection.java:34)
          at org.apache.wicket.Component.internalBeforeRender(Component.java:979)
          at org.apache.wicket.Component.beforeRender(Component.java:1012)
          at org.apache.wicket.Component.internalPrepareForRender(Component.java:2178)
          at org.apache.wicket.Page.internalPrepareForRender(Page.java:280)
          at org.apache.wicket.Component.render(Component.java:2265)
          at org.apache.wicket.Page.renderPage(Page.java:1035)
          at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
          at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:182)
          at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)
          at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
          at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
          at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
          at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:970)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:414)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:904)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
          at org.eclipse.jetty.server.Server.handle(Server.java:347)
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:439)
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:924)
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:781)
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
          at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:43)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
          at java.lang.Thread.run(Thread.java:679)

          Show
          svieujot Sylvain Vieujot added a comment - First, there is still an exception in the current quickstart if you enter a wrong password : ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalArgumentException: ' [Page class = kmworks.quickstart.HomePage, id = 0, render count = 1] ' claims to be stateless but isn't. Possible reasons: no stateless hint, statefull behaviors at org.apache.wicket.devutils.stateless.StatelessChecker.onBeforeRender(StatelessChecker.java:92) at org.apache.wicket.application.ComponentOnBeforeRenderListenerCollection$1.notify(ComponentOnBeforeRenderListenerCollection.java:38) at org.apache.wicket.application.ComponentOnBeforeRenderListenerCollection$1.notify(ComponentOnBeforeRenderListenerCollection.java:35) at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:79) at org.apache.wicket.application.ComponentOnBeforeRenderListenerCollection.onBeforeRender(ComponentOnBeforeRenderListenerCollection.java:34) at org.apache.wicket.Component.internalBeforeRender(Component.java:979) at org.apache.wicket.Component.beforeRender(Component.java:1012) at org.apache.wicket.Component.internalPrepareForRender(Component.java:2178) at org.apache.wicket.Page.internalPrepareForRender(Page.java:280) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105) at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:182) at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147) at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:970) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:414) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:904) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:347) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:439) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:924) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:781) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:43) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:679)
          Hide
          mgrigorov Martin Grigorov added a comment -

          Are you experiencing this problem with the quickstart too ?
          The attached quickstart works OK here.

          Show
          mgrigorov Martin Grigorov added a comment - Are you experiencing this problem with the quickstart too ? The attached quickstart works OK here.
          Hide
          svieujot Sylvain Vieujot added a comment -

          This leads to another issue.
          It seems there is now a loop in RequestHandlerStack.java:96
          See the stacktrace below :

          java.security.GeneralSecurityException: Signin error for toto
          at com.seanergie.authentication.WicketAuthenticatedWebSession.onFailedAuthentication(WicketAuthenticatedWebSession.java:88)
          at com.seanergie.authentication.WicketAuthenticatedWebSession.onFailedAuthentication(WicketAuthenticatedWebSession.java:84)
          at com.windsOfDubai.web.WebSession.onFailedAuthentication(WebSession.java:78)
          at com.seanergie.authentication.WicketAuthenticatedWebSession.authenticate(WicketAuthenticatedWebSession.java:74)
          at org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:65)
          at org.apache.wicket.authroles.authentication.panel.SignInPanel.signIn(SignInPanel.java:219)
          at org.apache.wicket.authroles.authentication.panel.SignInPanel.onBeforeRender(SignInPanel.java:127)
          at org.apache.wicket.Component.internalBeforeRender(Component.java:978)
          at org.apache.wicket.Component.beforeRender(Component.java:1012)
          at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
          at org.apache.wicket.Component.onBeforeRender(Component.java:3775)
          at org.apache.wicket.Component.internalBeforeRender(Component.java:978)
          at org.apache.wicket.Component.beforeRender(Component.java:1012)
          at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
          at org.apache.wicket.Component.onBeforeRender(Component.java:3775)
          at org.apache.wicket.Component.internalBeforeRender(Component.java:978)
          at org.apache.wicket.Component.beforeRender(Component.java:1012)
          at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
          at org.apache.wicket.Component.onBeforeRender(Component.java:3775)
          at org.apache.wicket.Page.onBeforeRender(Page.java:823)
          at org.apache.wicket.Component.internalBeforeRender(Component.java:978)
          at org.apache.wicket.Component.beforeRender(Component.java:1012)
          at org.apache.wicket.Component.internalPrepareForRender(Component.java:2178)
          at org.apache.wicket.Page.internalPrepareForRender(Page.java:280)
          at org.apache.wicket.Component.render(Component.java:2265)
          at org.apache.wicket.Page.renderPage(Page.java:1035)
          at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
          at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
          at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)
          at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)

          ... 307 times the same line ...

          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96)
          at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
          at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
          at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
          at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
          at com.seanergie.filter.persistence.SessionsManagerFilter.doFilter(SessionsManagerFilter.java:44)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:970)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:414)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:904)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
          at org.eclipse.jetty.server.Server.handle(Server.java:347)
          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:439)
          at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:907)
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:562)
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
          at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:43)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
          at java.lang.Thread.run(Thread.java:679)

          Show
          svieujot Sylvain Vieujot added a comment - This leads to another issue. It seems there is now a loop in RequestHandlerStack.java:96 See the stacktrace below : java.security.GeneralSecurityException: Signin error for toto at com.seanergie.authentication.WicketAuthenticatedWebSession.onFailedAuthentication(WicketAuthenticatedWebSession.java:88) at com.seanergie.authentication.WicketAuthenticatedWebSession.onFailedAuthentication(WicketAuthenticatedWebSession.java:84) at com.windsOfDubai.web.WebSession.onFailedAuthentication(WebSession.java:78) at com.seanergie.authentication.WicketAuthenticatedWebSession.authenticate(WicketAuthenticatedWebSession.java:74) at org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:65) at org.apache.wicket.authroles.authentication.panel.SignInPanel.signIn(SignInPanel.java:219) at org.apache.wicket.authroles.authentication.panel.SignInPanel.onBeforeRender(SignInPanel.java:127) at org.apache.wicket.Component.internalBeforeRender(Component.java:978) at org.apache.wicket.Component.beforeRender(Component.java:1012) at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785) at org.apache.wicket.Component.onBeforeRender(Component.java:3775) at org.apache.wicket.Component.internalBeforeRender(Component.java:978) at org.apache.wicket.Component.beforeRender(Component.java:1012) at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785) at org.apache.wicket.Component.onBeforeRender(Component.java:3775) at org.apache.wicket.Component.internalBeforeRender(Component.java:978) at org.apache.wicket.Component.beforeRender(Component.java:1012) at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785) at org.apache.wicket.Component.onBeforeRender(Component.java:3775) at org.apache.wicket.Page.onBeforeRender(Page.java:823) at org.apache.wicket.Component.internalBeforeRender(Component.java:978) at org.apache.wicket.Component.beforeRender(Component.java:1012) at org.apache.wicket.Component.internalPrepareForRender(Component.java:2178) at org.apache.wicket.Page.internalPrepareForRender(Page.java:280) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105) at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224) at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147) at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) ... 307 times the same line ... at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:96) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at com.seanergie.filter.persistence.SessionsManagerFilter.doFilter(SessionsManagerFilter.java:44) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:970) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:414) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:904) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:347) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:439) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:907) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:562) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:43) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:679)

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              svieujot Sylvain Vieujot
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development