[ 
https://issues.apache.org/jira/browse/WICKET-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586134#action_12586134
 ] 

Gerolf Seitz commented on WICKET-1476:
--------------------------------------

Johan, seems like I uploaded a wrong export of the project. sorry for this.
the new quickstart ends up in a StackOverflowError on my machine (Vistax64, 
JDK1.6.0_04-32bit)

1) go to http://localhost:8080/first (which redirects to first.0)
2) manually enter the address http://localhost:8080/second (-> second.1)
3) manually enter http://localhost:8080/first.0 in the address bar (don't use 
the back button)
4) StackOverflowError



> Referencing Page may cause StackOverflowError
> ---------------------------------------------
>
>                 Key: WICKET-1476
>                 URL: https://issues.apache.org/jira/browse/WICKET-1476
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.2
>            Reporter: Gerolf Seitz
>            Assignee: Johan Compagner
>         Attachments: StackOverflowBug.zip
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to