Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: General
    • Labels:
      None
    • Environment:
      myfaces core trunk

      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

        Activity

          People

          • Assignee:
            Martin Kočí
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development