[richfaces-issues] [JBoss JIRA] Closed: (RF-5975) rich:messages null pointer when client side state saving and clientId is NULL
Alexander Dubovsky (JIRA)
jira-events at lists.jboss.org
Fri Feb 20 11:25:44 EST 2009
[ https://jira.jboss.org/jira/browse/RF-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Dubovsky closed RF-5975.
----------------------------------
Assignee: Alexander Dubovsky (was: Tsikhon Kuprevich)
> 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: Alexander Dubovsky
> 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