Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.2.Final
    • Fix Version/s: None
    • Component/s: JSF Integration
    • Labels:
      None

      Description

      FacesMessages.beforeRenderResponse() passes the return value of FacesMessages.toFacesMessage() to FacesContext.addMessage() without any checks.

      The problem is that toFacesMessage() may return null and FacesContext.addMessage() does not allow that. (See http://download.oracle.com/docs/cd/E17802_01/j2ee/javaee/javaserverfaces/2.0/docs/api/javax/faces/context/FacesContext.html#addMessage(java.lang.String,%20javax.faces.application.FacesMessage)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stephan.bublava Stephan Bublava
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: