I found that I have a NullPointerException in the my prerender code of my
ViewController but I don't get an error page. I have set
EXCEPTION_DISPATCH_PATH and it looks like when Shale does the redirect to my
error page, the redirect causes an IllegalStateException. I have MyFaces
default error handling on but I don't get an error page at all. Does anyone
know how I get my error page to display?
<context-param>
<param-name>org.apache.shale.view.EXCEPTION_DISPATCH_PATH</param-name>
<param-value>/actions/app/Error.action</param-value>
</context-param>
[2009-05-05 08:39:27,566] [WebContainer : 20] *ERROR*
org.apache.myfaces.lifecycle.PhaseListenerManager - Exception in PhaseListener
RENDER_RESPONSE(6) afterPhase
java.lang.IllegalStateException: Cannot forward. Response already committed.
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:157)
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
at
org.apache.shale.view.faces.ViewPhaseListener.afterPhaseExceptionCheck(ViewPhaseListener.java:202)
Thanks
-Tim