[richfaces-issues] [JBoss JIRA] Closed: (RF-4510) rich:columns causes NotSerializableException

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Dec 24 09:39:54 EST 2008


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

Mikhail Vitenkov closed RF-4510.
--------------------------------

    Assignee: Mikhail Vitenkov  (was: Tsikhon Kuprevich)


Verified at 3.3.0.BETA5

> rich:columns causes NotSerializableException
> --------------------------------------------
>
>                 Key: RF-4510
>                 URL: https://jira.jboss.org/jira/browse/RF-4510
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: JBoss AS 4.2.2.GA, Seam 2.0.2.SP1
>            Reporter: Joerg Viola
>            Assignee: Mikhail Vitenkov
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> We are deploying to a clustered environment (server/all). and thus rely on the http session to be serializable.
> After entering a page using the follwing code 
> 	        <rich:dataTable value="#{customerOverviewStatus.rows}" var="row">
> 	            <rich:columns value="#{customerOverviewStatus.productFamilies}" var="productFamily"
> 	                index="idx" styleClass="#{row[idx].backgroundStyleClass}" style="text-align:center;">
> 	                <f:facet name="header">
> 	                    <h:outputText rendered="#{not empty productFamily}" value="#{productFamily.name}" />
> 	                </f:facet>
> 	                <ui:repeat value="#{row[idx].icons.toArray()}" var="icon">
> 	                	<h:graphicImage value="/img/#{icon.src}" alt="#{icon.alt}" />
> 	                </ui:repeat>
> 	                <h:outputText rendered="#{not empty row[idx].text}" value="#{row[idx].text} " />
> 	            </rich:columns>
> 	        </rich:dataTable>
> we get this exception:
> java.io.NotSerializableException: org.richfaces.taglib.IteratedExpression
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
>                     .....
> The IteratedExpression object causing the Exception says it is working on "#{customerOverviewStatus.productFamilies}".
> After re-writing the code without rich:columns, everything is working.

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