You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Petr (Jira)" <ji...@apache.org> on 2019/10/11 13:53:00 UTC
[jira] [Created] (WICKET-6710) Infinite page loading with
StalePageException
Petr created WICKET-6710:
----------------------------
Summary: Infinite page loading with StalePageException
Key: WICKET-6710
URL: https://issues.apache.org/jira/browse/WICKET-6710
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 8.6.1
Environment: Windows 10, CentOS 7, Eclipse
Reporter: Petr
Hi, I have a problem, that somehow because of this in constructor of the page:
{code:java}
add(new AjaxEventBehavior("DOMContentLoaded") { add(new AjaxEventBehavior("DOMContentLoaded") { private static final long serialVersionUID = 1L;
@Override protected void onEvent(final AjaxRequestTarget target) { [0].classList.add('fade-in');"); target.appendJavaScript("some javascript"); } });{code}
when I access the page, the StalePageException is thrown and wicket starts infinite reloading the page again and again. I cant work with app after that. What could be the problem? My app console is full of these:
{{}}
{code:java}
WARN RequestCycleExtra - ******************************** WARN RequestCycleExtra - Handling the following exception org.apache.wicket.core.request.mapper.StalePageException: A request to page '[Page class = *.*Page, id = 1, render count = 2]' has been made with stale 'renderCount'. The page will be re-rendered. WARN RequestCycleExtra - ********************************{code}
{{}}
and page is refreshing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)