[richfaces-issues] [JBoss JIRA] Created: (RF-5847) NPE when rendering faces messages with no client id

David Green (JIRA) jira-events at lists.jboss.org
Thu Jan 22 14:52:44 EST 2009


NPE when rendering faces messages with no client id
---------------------------------------------------

                 Key: RF-5847
                 URL: https://jira.jboss.org/jira/browse/RF-5847
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: David Green
            Priority: Critical


If one or more FacesMessages are in the context with no client id then a NullPointerException occurs in the RenderResponse phase.

{noformat}
java.lang.NullPointerException
	at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputStream.java:2097)
	at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:1968)
	at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:841)
	at org.richfaces.component.UIRichMessages$FacesMessageWithId.writeObject(UIRichMessages.java:302)
  ... snip ...
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
	at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:269)
	at javax.faces.render.ResponseStateManager.writeState(ResponseStateManager.java:166)
	at org.ajax4jsf.application.AjaxStateManager.writeState(AjaxStateManager.java:294)
	at org.ajax4jsf.application.AjaxStateManager.writeState(AjaxStateManager.java:256)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:606)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list