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

Alexander Dubovsky closed RF-5847.
----------------------------------

    Assignee: Alexander Dubovsky  (was: Tsikhon Kuprevich)


> 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: Alexander Dubovsky
>            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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to