create a jira with a test case.
On Mon, Jun 16, 2008 at 2:56 AM, mfs <[EMAIL PROTECTED]> wrote:
>
> And surprisingly, this issue comes in IE and Safari but not in Mozilla..
>
>
>
> mfs wrote:
> >
> > Any update on this issue, i am facing an issue somewhat related, where
> > clicking on an ajaxlink once the session expiry has reached, gives a
> > nullpointer exception at
> > BookmarkableListenerInterfaceRequestTarget.processEvents ...(Below is the
> > exception stack-trace), btw i am using QueryStringUrlCodingStrategy url
> > coding strategy to mount the pages....The behavior is fine for non-ajax
> > component, where i am taken to the session-expiry page...
> >
> > Thanks in advance..
> >
> > ERROR - RequestCycle -
> > java.lang.NullPointerException
> > at
> >
> org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget.processEvents(BookmarkableListenerInterfaceRequestTarget.java:131)
> > at
> >
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
> > at
> >
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1188)
> > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1265)
> > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366)
> > at org.apache.wicket.RequestCycle.request(RequestCycle.java:499)
> > at
> > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
> > at
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
> > at
> >
> com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
> > at
> >
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
> > at
> >
> com.evermind.server.http.HttpRequestHandler.handleNotFound(HttpRequestHandler.java:1041)
> > at
> >
> com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
> > at
> >
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
> > at
> >
> com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
> > at
> >
> com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
> > at
> >
> oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
> > at
> >
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
> > at java.lang.Thread.run(Thread.java:595)
> >
> >
> >
> >
> > Johan Compagner wrote:
> >>
> >> Please make a jira issue for this with an example
> >>
> >> On 2/20/08, okrohne <[EMAIL PROTECTED]> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I tried QueryStringUrlCodingStrategy and MixedParamUrlCodingStrategy
> and
> >>> both are throwing
> >>> exceptions. I looked at the example in chapter 15.2 , I don't get the
> >>> point
> >>> of:
> >>>
> >>> ((WebApplication)getApplication()).unmount("cheeses");
> >>> ((WebApplication)getApplication()).mountBookmarkablePage("cheeses",
> >>> CheeseDetailsPage.class);
> >>> ((WebApplication)getApplication()).unmount("cheeses");
> >>> ((WebApplication)getApplication()).mount(new
> >>> QueryStringUrlCodingStrategy("cheeses", CheeseDetailsPage.class));
> >>> ((WebApplication)getApplication()).unmount("cheeses");
> >>> ((WebApplication)getApplication()).mount(new
> >>> MixedParamUrlCodingStrategy("cheeses", CheeseDetailsPage.class, new
> >>> String[]{}));
> >>>
> >>> why mount and unmount?
> >>>
> >>> The exceptions are thrown after the first on timer event.
> >>>
> >>>
> >>> QueryStringUrlCodingStrategy gives:
> >>>
> >>> Root cause:
> >>>
> >>> java.lang.NullPointerException
> >>> at
> >>>
> org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget.processEvents(BookmarkableListenerInterfaceRequestTarget.java:131)
> >>> at
> >>>
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
> >>> at
> >>>
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1166)
> >>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1241)
> >>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1316)
> >>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
> >>> at
> >>>
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
> >>> at
> >>>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> at
> >>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> >>> at
> >>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> >>> at
> >>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >>> at
> >>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> >>> at
> >>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>> at
> >>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
> >>> at
> >>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> >>> at
> >>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> >>> at
> >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >>> at java.lang.Thread.run(Thread.java:613)
> >>>
> >>>
> >>> MixedParamUrlCodingStrategy gives
> >>> Root cause:
> >>>
> >>> java.lang.ClassCastException: [Ljava.lang.String;
> >>> at
> >>>
> org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy.appendParameters(MixedParamUrlCodingStrategy.java:153)
> >>> at
> >>>
> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.encode(BookmarkablePageRequestTargetUrlCodingStrategy.java:135)
> >>> at
> >>>
> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.pathForTarget(WebRequestCodingStrategy.java:459)
> >>> at
> >>>
> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.encode(WebRequestCodingStrategy.java:236)
> >>> at
> >>>
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:224)
> >>> at
> >>>
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
> >>> at
> >>>
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1172)
> >>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1241)
> >>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1316)
> >>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
> >>> at
> >>>
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
> >>> at
> >>>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>> at
> >>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> at
> >>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> >>> at
> >>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> >>> at
> >>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >>> at
> >>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> >>> at
> >>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>> at
> >>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
> >>> at
> >>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> >>> at
> >>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> >>> at
> >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >>> at java.lang.Thread.run(Thread.java:613)
> >>>
> >>> Any ideas?
> >>>
> >>> Thanks,
> >>> Oliver
> >>>
> >>>
> >>>
> >>>
> >>> Martijn Dashorst wrote:
> >>> >
> >>> > Use a different URL coding strategy.
> >>> >
> >>> > see Application#mount()
> >>> >
> >>> > (Wicket in action chapter 15, soon to be renumbered to chapter 14,
> >>> > talks about the encoding strategies, see the example code in:
> >>> > http://wicketinaction.googlecode.com)
> >>> >
> >>> > Martijn
> >>> >
> >>> > On 2/19/08, okrohne <[EMAIL PROTECTED]> wrote:
> >>> >>
> >>> >> Hi Maurice,
> >>> >>
> >>> >> thanks for your advice, it worked out of the box :)
> >>> >>
> >>> >> Now I have mounted the Page to
> >>> >> www.mydomain.com/events
> >>> >> by setting it in the init method of my app
> >>> >>
> >>> >> mountBookmarkablePage("/events", Events.class);
> >>> >>
> >>> >> and I get this exception:
> >>> >>
> >>> >> java.lang.IllegalStateException: URL fragment has unmatched
> key/value
> >>> >> pair:
> >>> >> amp
> >>> >> at
> >>> >>
> >>>
> org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(AbstractRequestTargetUrlCodingStrategy.java:174)
> >>> >> at
> >>> >>
> >>>
> org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:76)
> >>> >> at
> >>> >>
> >>>
> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:475)
> >>> >> at
> >>> >>
> >>>
> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:175)
> >>> >> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1224)
> >>> >> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1316)
> >>> >> at
> org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
> >>> >> at
> >>> >>
> >>>
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
> >>> >> at
> >>> >>
> >>>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>> >> at
> >>> >>
> >>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
> >>> >> at
> >>> >>
> >>>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> >>> >> at
> >>> >>
> >>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> >>> >> at
> >>> >>
> >>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >>> >> at java.lang.Thread.run(Thread.java:613)
> >>> >>
> >>> >> Any idea what I have missed to configure?
> >>> >>
> >>> >> Thanks,
> >>> >> Oliver
> >>> >>
> >>> >>
> >>> >>
> >>> >> Mr Mean wrote:
> >>> >> >
> >>> >> > If you have your dao always return the top x rows ordered by
> >>> creation
> >>> >> > date the newest will always be at index 0.
> >>> >> > in onpopulate you can check if the creation date is within the
> last
> >>> 5
> >>> >> > sec and then apply a css style or whatever to achieve your effect.
> >>> >> > Attach the AjaxSelfUpdatingTimerBehavior to a WebMarkupContainer
> >>> which
> >>> >> > contains your DataTable / DataView and your table will
> >>> automatically
> >>> >> > be refreshed.
> >>> >> >
> >>> >> > Maurice
> >>> >> >
> >>> >> > On Feb 18, 2008 2:23 PM, okrohne <[EMAIL PROTECTED]> wrote:
> >>> >> >>
> >>> >> >> Hi,
> >>> >> >>
> >>> >> >> I am new to Wicket and I think of how to achieve the following:
> >>> >> >>
> >>> >> >> I need a table which refreshes itself every 5 sec. This could be
> >>> done
> >>> >> >> with AjaxSelfUpdatingTimerBehavior. The refresh mechanismen shall
> >>> >> >> only insert new rows at the beginning (there will be always only
> 1
> >>> new
> >>> >> >> row
> >>> >> >> in a 5 sec period).
> >>> >> >> The table shall only display 10 rows (or be configurable), so if
> a
> >>> new
> >>> >> >> row
> >>> >> >> comes in the 10th row should dispear. The new row can have
> several
> >>> >> >> effects
> >>> >> >> like sliding in, flashing ...
> >>> >> >> I need this as monitoring component.
> >>> >> >>
> >>> >> >> Has anyone done something like this?
> >>> >> >> Any suggestions are welcome, maybe it is obvious?
> >>> >> >>
> >>> >> >> Thanks,
> >>> >> >> Oliver
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> --
> >>> >> >> View this message in context:
> >>> >> >>
> >>> >>
> >>>
> http://www.nabble.com/self-refreshing-table-with-effects-tp15545179p15545179.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]
> >>> >> >>
> >>> >> >>
> >>> >> >
> >>> >> >
> >>> ---------------------------------------------------------------------
> >>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >>
> >>> >> --
> >>> >> View this message in context:
> >>> >>
> >>>
> http://www.nabble.com/self-refreshing-table-with-effects-tp15545179p15560365.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]
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> > --
> >>> > Buy Wicket in Action: http://manning.com/dashorst
> >>> > Apache Wicket 1.3.1 is released
> >>> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1
> >>> >
> >>> > ---------------------------------------------------------------------
> >>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> > For additional commands, e-mail: [EMAIL PROTECTED]
> >>> >
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/self-refreshing-table-with-effects-tp15545179p15584531.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]
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/self-refreshing-table-with-effects-tp15545179p17856332.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]
>
>