as requested:
Code:
javax.faces.FacesException: Value binding '${roles}'of UISelectItems with component-path {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /pages/user/userRegistrationForm.xhtml][Class: javax.faces.component.html.HtmlForm,Id: registrationForm][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: select_roles][Class: javax.faces.component.UISelectItems,Id: _id11]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null
de.mindmatters.faces.lifecycle.ProcessValidationsPhase.executePhase(ProcessValidationsPhase.java:48)
de.mindmatters.faces.lifecycle.AbstractPhase.execute(AbstractPhase.java:37)
de.mindmatters.faces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:166)
de.mindmatters.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:211)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Clearly there is something wrong in the way the state is handled, because if elements are hardcoded into the list things are ok, maybe its the way I am populating the list via a service call in a render-action.
Code:
<render-actions>
<bean-action bean="userDelegateService" method="findAllRoles">
<method-result name="roles"/>
</bean-action>
</render-actions>
regards,