[richfaces-issues] [JBoss JIRA] Resolved: (RF-5975) rich:messages null pointer when client side state saving and clientId is NULL

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Jan 30 18:40:44 EST 2009


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

Nick Belaevski resolved RF-5975.
--------------------------------

    Resolution: Out of Date
      Assignee: Tsikhon Kuprevich


Steven,

Thank you for posting the issue. It's been already resolved in 3.3.1-snapshot 

> rich:messages null pointer when client side state saving and clientId is NULL
> -----------------------------------------------------------------------------
>
>                 Key: RF-5975
>                 URL: https://jira.jboss.org/jira/browse/RF-5975
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: rich faces 3.3.0 GA on windows platform
>            Reporter: Steven Murray
>            Assignee: Tsikhon Kuprevich
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> Using rich:messages, client side state saving, entity (backing bean) scope is Event.  Add faces message with clientId null
> Relevant part of the stack
> 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)
> Relevant part of UIRichMessages
> 		/**
> 		 * <p>
> 		 * Persist {@link FacesMessageWithId} artifacts,
> 		 * including the non serializable <code>Severity</code>.
> 		 * </p>
> 		 */
> 		private void writeObject(ObjectOutputStream out) throws IOException {
> 			out.writeUTF(clientId);
> 			out.writeInt(message.getSeverity().getOrdinal());
> 			out.writeUTF(message.getSummary());
> 			out.writeUTF(message.getDetail());
> 		}

-- 
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