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

Referencing Page may cause StackOverflowError

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.4
    • wicket
    • None

    Description

      scenario:
      + 2 pages. each page stores itself in the session in the constructor ( -> last accessed instance of a page is stored in session (which ultimately is rather bad in the first place))
      + have a final reference to session in page's constructor
      + access page 1 mounted as "first" (-> pageId=0)
      + access page 2 mounted as "second" several times so that new pages are created until page1 gets serialized
      + access the serialized page 1 via "/first.0"
      + StackOverflowError

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jcompagner Johan Compagner
            seitz Gerolf Seitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment