This issue will be fixed in 1.4-rc7 release:
http://issues.apache.org/jira/browse/WICKET-2346


homar70 wrote:
> 
> Hi,
> After upgrading from rc4 to rc6 I'm getting PageExpiredExceptions
> splashing out after clicking on not bookmarkable link at
> session-timeouts and after server restarts. Previously (1.4-rc4 and
> 1.3.x) this resulted in sending me to the login-page and then to the
> homepage as I declared in the settings below.
>    /**
>      * @see org.apache.wicket.examples.WicketExampleApplication#init()
>      */
>     protected void init()
>     {
>         // allows Spring dependencies to be injected by @SpringBean
>         addComponentInstantiationListener(new
> SpringComponentInjector(this));
> 
>         IApplicationSettings settings = getApplicationSettings();
>         settings.setPageExpiredErrorPage(getHomePage());
>         ....
>      }
> 
> The error message in browser:
> WicketMessage: org.apache.wicket.protocol.http.PageExpiredException:
> Cannot find the rendered page in session
> [pagemap=null,componentPath=3:tabs:panel:logIntervals:4:actions:editLink,versionNumber=5]
> 
> Root cause:
> 
> org.apache.wicket.protocol.http.PageExpiredException: Cannot find the
> rendered page in session
> [pagemap=null,componentPath=3:tabs:panel:logIntervals:4:actions:editLink,versionNumber=5]
>      at
> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:197)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
>      at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>      at
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
>      at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>      at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>      at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>      at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>      at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>      at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>      at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>      at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>      at org.mortbay.jetty.Server.handle(Server.java:295)
>      at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
>      at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
>      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
>      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
>      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
>      at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>      at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> 
> Complete stack:
> 
> org.apache.wicket.protocol.http.request.InvalidUrlException:
> org.apache.wicket.protocol.http.PageExpiredException: Cannot find the
> rendered page in session
> [pagemap=null,componentPath=3:tabs:panel:logIntervals:4:actions:editLink,versionNumber=5]
>      at
> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:250)
>      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1301)
>      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1419)
>      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>      at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
> 
> 
> Hilsen Atle
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/setPageExpiredErrorPage-not-doing-the-job-after-1.4-rc4-tp24386589p24389736.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to