Details
Description
If a exception occurs in UIInput.updateModel, exception and its stacktrace is outputed 2x in log:
1) from javax.faces.component.UIInput.updateModel(FacesContext) - context.getExternalContext().log(e.getMessage(), e);
2) from ExceptionHandlerImpl/ErrorPagewriter
The first one is unwanted, because all exceptions should be handled with exception handling mechanism. Remove that logging.
29.6.2011 13:15:44 org.apache.catalina.core.ApplicationContext log
SEVERE: java.lang.ClassCastException@1580929
java.lang.IllegalArgumentException: java.lang.ClassCastException@1580929
at sun.reflect.GeneratedMethodAccessor535.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
29.6.2011 13:16:11 org.apache.myfaces.renderkit.ErrorPageWriter handleThrowable
SEVERE: An exception occurred
javax.faces.component.UpdateModelException: java.lang.IllegalArgumentException: java.lang.ClassCastException@1580929
at javax.faces.component.UIInput.updateModel(UIInput.java:400)
at javax.faces.component.UIInput.processUpdates(UIInput.java:304)
at javax.faces.component.UIForm.processUpdates(UIForm.java:219