ERROR Error detaching RequestHandler in StalePageException

2013-08-12 Thread Fergal Keating
Hi, Every few minutes on our site, we get the following error.

08/12/2013 07:13:53 [?] ERROR ?  Error detaching RequestHandler
org.apache.wicket.core.request.mapper.StalePageException

We're running wicket 6.5.0 (as we were on previous release without the
issue). The errors seem to be correspond to bots accessing the site (e.g
googlebot) trying to access links such as

MOUNTED_URL/?0-1.IBehaviorListener.0-headerPanel-content-my
Panel-form-mySelect
MOUNTED_URL/?0-1.ILinkListener-panel-options-tabs-tabs~container-tabs-1-link

I cannot seem to reproduce the issue locally, We don't have sessions for
bots as we Override Application#newWebResponse as follows.

protected WebResponse newWebResponse(final WebRequest webRequest, final
HttpServletResponse httpServletResponse)
 {
return new ServletWebResponse((ServletWebRequest) webRequest,
httpServletResponse)
{

@Override
public String encodeURL(CharSequence url)
{
 final String agent = webRequest.getHeader(User-Agent);
logger.debug(User Agent: + agent);
 if (isAgent(agent))
{
MyAuthenticatedWebSession.get().invalidateNow();
 return url.toString();
}

return super.encodeURL(url).toString();

}
};
}


What could be causing the ERRORs?
-- 
Fergal Keating
IT Senior Engineer
---
e. fergal.keat...@directski.com
p. NA
w. www.directski.com


Error detaching RequestHandler

2012-01-19 Thread Allen Gilbert
Running 1.5.2, we occasionally see this error message in our logs,
usually many times in a row:

2012-01-19 10:03:09,284 ERROR
[org.apache.wicket.request.RequestHandlerStack] Error detaching
RequestHandler
org.apache.wicket.RestartResponseAtInterceptPageException

No other details are provided.  Any idea what this means?

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



Re: Error detaching RequestHandler

2012-01-19 Thread Martin Grigorov
Hi,

This error means that somewhere in your component hierarchy you throw
RestartResponseAtInterceptPageException in #detach() method.
I just did a quick search in Wicket's code and I didn't find such
occurrence. Check your code and the libraries you use.

On Thu, Jan 19, 2012 at 7:31 PM, Allen Gilbert allen.gilb...@doane.edu wrote:
 Running 1.5.2, we occasionally see this error message in our logs,
 usually many times in a row:

 2012-01-19 10:03:09,284 ERROR
 [org.apache.wicket.request.RequestHandlerStack] Error detaching
 RequestHandler
 org.apache.wicket.RestartResponseAtInterceptPageException

 No other details are provided.  Any idea what this means?

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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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