Ah, found the problem; I didn't log in as a "committer".

On Tue, Jun 10, 2014 at 10:44 AM, Howard Lewis Ship <hls...@gmail.com>
wrote:

> Odd ... I went to the page to delete this comment and don't seem to have
> that option. Any idea why?
>
>
> ---------- Forwarded message ----------
> From: <no-re...@comments.apache.org>
> Date: Tue, Jun 10, 2014 at 10:18 AM
> Subject: shahidsan commented on
> http://tapestry.apache.org/mailing-lists.html
> To: dev@tapestry.apache.org
>
>
> Hello,
>     shahidsan has commented on
> http://tapestry.apache.org/mailing-lists.html.
>     You can find the comment here:
>     http://tapestry.apache.org/mailing-lists.html#comment_2607
>     Please note that if the comment contains a hyperlink, it must be
> approved
>     before it is shown on the site.
>
>     Below is the reply that was posted:
>     ~~~~
>     I am trying to have the Exception page shown in Tapestry when my
> GridDataSource throws an exception. How do i catch a
> ComponentEventException nad have Tapestry redirect to the Exception page.
>
> YOur help is much appreciated!
>
> Here is the logs..
>
>         at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> Caused by: org.apache.tapestry5.runtime.ComponentEventException [at
> classpath:com/navicure/ui/admin/pages/incoming/IncomingFilesPage.tml, line
> 67]
>         at
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1141)
>         at
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3100(ComponentPageElementImpl.java:61)
>         at
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1062)
>         at
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1059)
>         at
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
>         ... 100 more
> Caused by: java.lang.NullPointerException
>         at
> com.navicure.ui.admin.tables.FragmentDataSource.getAvailableRows(FragmentDataSource.java:91)
>         at
> org.got5.tapestry5.jquery.internal.DefaultDataTableModel.getResponse(DefaultDataTableModel.java:243)
>         at
> org.got5.tapestry5.jquery.internal.DefaultDataTableModel.sendResponse(DefaultDataTableModel.java:375)
>         at
> org.got5.tapestry5.jquery.components.DataTable.onData(DataTable.java:128)
>         at
> org.got5.tapestry5.jquery.components.DataTable.dispatchComponentEvent(DataTable.java)
>         at
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:940)
>         at
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1117)
>         ... 104 more
>
>
> Here is my object that implements ExceptionReporter
>
> package com.navicure.ui.admin.pages;
>
> import java.io.PrintWriter;
> import java.io.StringWriter;
> import java.util.Date;
>
> import org.apache.log4j.Logger;
> import org.apache.tapestry5.annotations.Log;
> import org.apache.tapestry5.annotations.Property;
> import org.apache.tapestry5.ioc.annotations.Inject;
> import org.apache.tapestry5.services.ExceptionReporter;
> import org.apache.tapestry5.services.ajax.AjaxResponseRenderer;
> import org.apache.tapestry5.services.ajax.JavaScriptCallback;
> import org.apache.tapestry5.services.javascript.JavaScriptSupport;
>
> public class ExceptionReport implements ExceptionReporter {
>
>         pr...
>     ~~~~
>
>     With regards,
>     The Apache Tapestry Project.
>
>     You are receiving this email because you have subscribed to changes
> for the tapestry site.
>     To stop receiving these emails, unsubscribe from the mailing list that
> is providing these notifications.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: dev-h...@tapestry.apache.org
>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
> @hlship
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com
@hlship

Reply via email to