Wicket doesn't have anything to do with that session timeout.
But are you really seeing a session timeout or a Page Expired.. That is something else..

That error below is very strange.. Because it seems to happen already for the InternalErrorPage
So there is already an error but the error page itself also errors again.

The code seems to sit in when a old pagemap is cleared. And that one is trying to remove all the pages
that should be still in the stack. But somehow it is already gone.
If you could give me an reproduceable case i could look at it why that happens.

Why that newBrowserWindow happens i don't know. But maybe on the client something goes wrong with the
check, with the cookies.. We are trying to fix that by using another way.

johan



On 7/20/06, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
When clicking back and forth on links in a fast, repetitive manner, the following error occurred.  Note, I'm not sure what the onNewBrowserWindow() call is all about, this was all done from a single browser window and no new window open was triggered from the app.

Also, what conditions can trigger the session to expire/invalidate?  I seem to be getting random session expirations ( my <session-timeout> is set to 60 )


Error is below:

WicketMessage: Method onNewBrowserWindow of interface wicket.markup.html.INewBrowserWindowListener targeted at component [Page class = wicket.markup.html.pages.InternalErrorPage, id = 5] threw an exception
Root cause:

java.lang.NullPointerException
at wicket.PageMap.removeEntry(PageMap.java:335)
at wicket.PageMap$1.entry(PageMap.java:197)
at wicket.PageMap.visitEntries(PageMap.java:580)
at wicket.PageMap.clear(PageMap.java:193)
at wicket.PageMap.remove(PageMap.java:308)
at wicket.Session.newPageMap(Session.java:581)
at wicket.Session.createAutoPageMap(Session.java:474)
at wicket.markup.html.WebPage.onNewBrowserWindow(WebPage.java:343)
at java.lang.reflect.Method.invoke(Method.java:585)
at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:163)
at wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents (ListenerInterfaceRequestTarget.java:74)
at wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65)
at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents (AbstractCompoundRequestCycleProcessor.java:57)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:846)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
at wicket.RequestCycle.step (RequestCycle.java:960)
at wicket.RequestCycle.steps(RequestCycle.java:1034)
at wicket.RequestCycle.request(RequestCycle.java:453)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java :96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke (CustomPrincipalValve.java:54)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java :74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt (ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Complete stack:

wicket.WicketRuntimeException : Method onNewBrowserWindow of interface wicket.markup.html.INewBrowserWindowListener targeted at component [Page class = wicket.markup.html.pages.InternalErrorPage, id = 5] threw an exception
at wicket.RequestListenerInterface.invoke (RequestListenerInterface.java:174)
at wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:74)
at wicket.request.compound.DefaultEventProcessorStrategy.processEvents (DefaultEventProcessorStrategy.java:65)
at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57)
at wicket.RequestCycle.doProcessEventsAndRespond (RequestCycle.java:846)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
at wicket.RequestCycle.step(RequestCycle.java:960)
at wicket.RequestCycle.steps(RequestCycle.java:1034)
at wicket.RequestCycle.request(RequestCycle.java:453)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at java.lang.reflect.Method.invoke(Method.java:585)
at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java :163)
at wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:74)
at wicket.request.compound.DefaultEventProcessorStrategy.processEvents (DefaultEventProcessorStrategy.java:65)
at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57)
at wicket.RequestCycle.doProcessEventsAndRespond (RequestCycle.java:846)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
at wicket.RequestCycle.step(RequestCycle.java:960)
at wicket.RequestCycle.steps(RequestCycle.java:1034)
at wicket.RequestCycle.request(RequestCycle.java:453)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to