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

stackoverflow while serializing a page containing a reference to session

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0.0, 9.1.0
    • Fix Version/s: 9.2.0
    • Component/s: wicket
    • Labels:
      None

      Description

      Something has changed in the way pages are serialized in wicket 9.x thus that if a page has a reference to session serialization enters in a loop causing an stack overflow. See attached project. While there is no reasons to keep a reference to session, and I have fixed that in our legacy code causing this problem, it would be nice to avoid server crashing because of this (and log a huge warning for users to note).

        Attachments

        1. session-serialization.tar.gz
          34 kB
          Ernesto Reinaldo Barreiro

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Tzvetanov Grigorov
                Reporter:
                reiern70 Ernesto Reinaldo Barreiro
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: