Bugs item #1555039, was opened at 2006-09-08 18:59 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=1555039&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: 5 Submitted By: Alex Burgel (aburgel) Assigned to: Nobody/Anonymous (nobody) Summary: Infinite loop on internal parsing error with error page Initial Comment: i'm seeing this in wicket 1.2.2 You can get an infinite loop if you access a URL that causes an exception to get thrown in wicket.protocol.http.request.WebRequestCodingStrategy line 406 and when you are using an internal error page that calls super() in its constructor (explicitly or implicitly). This means a URL that looks like http://host/app?wicket:interface=:1: (its missing the last colon) will cause an infinite loop. Here's how it works. You access that URL and you'll end up throwing a WicketRuntimeException (because it can't parse the url) as described above. After that exception is thrown, you eventually end up in DefaultExceptionResponseStrategy which then throws a RestartResponseException with your internalErrorPageClass. After that exception is thrown, you're back in RequestCycle which tries to respond with the internalErrorPageClass. Since this is a class, it has to create an instance, which will end up calling the Page constructor, which ultimately ends up calling WebRequestCodingStrategy.decode, which causes the exception. and then you have an infinite loop. The work around is to use page with a constructor that does not call super() as your internal error page. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1555039&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