You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ckuehne <co...@googlemail.com> on 2009/02/05 13:37:02 UTC

Re: Unexpected RuntimeException: RestartResponseException in onBeforeRender of cached page

I created a quickstart project to reproduce the error. Curiously, the problem
does not show up in the automated test case. It does show up however if you
run jetty and then click "TabbedPanels"-->"intercept"-->"Tabbed Panel".

 The difference between the test case and the browser variant seems to be
that in the former the AbortException is ultimately (after being rethrown
nested in a WicketRuntimeException) caught in the WebRequestCycle.step()
method (where a while-loop looks for the cause until it finds the
AbortException). In the latter variant the AbortException is caught (also
after being rethrown nested in a WicketRuntimeException) in the
WebRequestCycle.redirectTo() method where the test of instanceof
AbortException fails because the outer exception is a
WicketRuntimeException.

http://www.nabble.com/file/p21850546/onbeforerender.zip onbeforerender.zip 


-- 
View this message in context: http://www.nabble.com/Unexpected-RuntimeException%3A-RestartResponseException-in-onBeforeRender-of-cached-page-tp21683689p21850546.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org