You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Travis Reeder <tr...@gmail.com> on 2005/10/13 23:19:28 UTC
Hiding Exceptions
I am finding this time and time again that I can't find my
RuntimeException's because they are being hidden and I just get the
following type of message in the browser and nothings comes up in the
console. I find myself wrapping my action methods in a try/catch clause so I
can spit out the stack trace.
*exception*
javax.servlet.ServletException: Error calling action method of
component with id _id38:_id51
javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
rhythm.marketplace.filters.AuthFilter.doFilter(Unknown Source)
*root cause*
javax.faces.FacesException: Error calling action method of component
with id _id38:_id51
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:301)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
rhythm.marketplace.filters.AuthFilter.doFilter(Unknown Source)