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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Sat Jan 24 10:45:47 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-5847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-5847.
--------------------------------

    Resolution: Out of Date
      Assignee: Tsikhon Kuprevich


Already fixed in 3.3.1-snapshot

> 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
>            Assignee: Tsikhon Kuprevich
>            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