Bugs item #1554508, was opened at 2006-09-08 06:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1554508&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.2 Status: Open Resolution: None Priority: 7 Submitted By: Eelco Hillenius (eelco12) Assigned to: Johan Compagner (joco01) Summary: Infinite Loop on Session.getPage Initial Comment: >From thread: http://www.nabble.com/Infinite-Loop-on-Session.getPage%28%29-tf2233107.html Here's a trace of what happens that causes the problem : During the RESOLVE_TARGET step of RequestCycle, the target is trying to be resolved using the DefaultRequestTargetResolverStrategy, which first inside the resolveRenderedPage() method uses Session.getPage() to get the page,(which adds it to the usedPages map,a hidden side-effect imho),and then calls resolveListenerInterfaceTarget() where it retrieves the Component for the path and calls isVisibleInHierarchy() on it. This method throws an exception in my application, which is caught back in the RequestCycle. Now, the target didn't have a chance to be added to requestTargets, but the page has been added to the usedPages. In the detach phase, the requestTargets are detached one by one, which in this case is only the exception page generated. So when i push back and click on another link with the same page id, it'll fall into the loop mentioned, cause the thread hasn't been cleared. I guess this somehow means a problem with the usedPages map, where it should be cleared on an exception. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1554508&group_id=119783 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop