FacesMessages may trigger NPE in JSF code
-----------------------------------------
Key: JBSEAM-4827
URL:
https://issues.jboss.org/browse/JBSEAM-4827
Project: Seam 2
Issue Type: Bug
Components: JSF Integration
Affects Versions: 2.2.2.Final
Reporter: Stephan Bublava
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/...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira