Details
Description
If a exception occurs in render response phase (see MYFACES-3191), exception and its stacktrace is outputed 2x in log:
1) from org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.handleRenderException
2) from ExceptionHandlerImpl/ErrorPagewriter
The first one is unwanted, because all exceptions should be handled with exception handling mechanism. Remove that logging or change its level to FINE.
27.6.2011 21:40:21 org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage handleRenderException
SEVERE: Error Rendering View[/renderResponseExceptions.xhtml]
javax.faces.FacesException: Could not retrieve value of component with path :
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(RendererUtils.java:347)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:295)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:92)
....
27.6.2011 21:40:21 org.apache.myfaces.renderkit.ErrorPageWriter handleThrowable
SEVERE: An exception occurred
javax.faces.FacesException: java.lang.NullPointerException
at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:15