[ https://issues.apache.org/jira/browse/MYFACES-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3197. ------------------------------------- Resolution: Fixed Fix Version/s: 2.1.2 2.0.8 > exception from UIInput.updateModel is logged 2x > ----------------------------------------------- > > Key: MYFACES-3197 > URL: https://issues.apache.org/jira/browse/MYFACES-3197 > Project: MyFaces Core > Issue Type: Sub-task > Components: General > Environment: myfaces core trunk > Reporter: Martin Kočí > Assignee: Martin Kočí > Priority: Trivial > Fix For: 2.0.8, 2.1.2 > > > 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 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira