You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Graeme Knight <gk...@bluecatnetworks.com> on 2003/11/12 20:43:35 UTC

Tapestry Exceptions again....

Hi.

I've not looked into this for a while, but perhaps someone can help... We are using Tapestry for a large project. There will be a lot of code and a lot of pages. Errors will definately occur and I want to make sure the turnaround in finding and fixing them is short. When I do something stupid (for example, set an identifier as null in a method then try to use that identifier for something meaningful, I get the stacktrace as below). Are there any methods/listeners/anything I can make use of to get a more accurate picture of the problem, and further infomation about where in my java page code the error happens (I need more than com.bluecatnetworks.proteus.web.pages.AddFirewallRulePage@3c35fd[AddFirewallRule]: null)?

Many thanks for any help,

Rgds, Graeme.

org.apache.tapestry.ApplicationRuntimeException: Unable to invoke method formSubmit on com.bluecatnetworks.proteus.web.pages.AddFirewallRulePage@3c35fd[AddFirewallRule]: null
	at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:327)
	at org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:87)
	at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:141)
	at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:146)
	at org.apache.tapestry.form.Submit.renderComponent(Submit.java:121)
	at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:880)
	at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:657)
	at org.apache.tapestry.form.Form.renderComponent(Form.java:396)
	at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:880)
	at org.apache.tapestry.form.Form.rewind(Form.java:602)
	at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:475)
	at org.apache.tapestry.form.Form.trigger(Form.java:616)
	at org.apache.tapestry.engine.DirectService.service(DirectService.java:210)
	at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:912)
	at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238)
	at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:367)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1776)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1726)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:487)
14:22:24,064  INFO PageLoader:822 - Loaded page com.bluecatnetworks.proteus.web.pages.ExceptionPage@18c6cbc[Exception] with 1 components (maximum depth 2)
14:22:24,079 DEBUG ExceptionPage:36 - 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org