cancel
Showing results for 
Search instead for 
Did you mean: 

Groups edition error

adam_bo_
Star Contributor
Star Contributor

It is not possible to edit a group in 5.8 HF05. There is an error:

2014-01-30 20:18:08,176 ERROR [facelets.viewhandler] Error Rendering View[/view_admin.xhtml] javax.faces.FacesException: javax.el.ELException: /widgets/user_suggestion_widget_template.xhtml @88,368 value="#{select2Actions.resolveMultipleUserReference(currentValue, widgetProperty_prefixed, widgetProperty_firstLabelField, widgetProperty_secondLabelField, widgetProperty_thirdLabelField, widgetProperty_hideFirstLabel, widgetProperty_hideSecondLabel, widgetProperty_hideThirdLabel, widgetProperty_displayEmailInSuggestion, widgetProperty_hideIcon)}": java.lang.NullPointerException at javax.faces.component.UIOutput.getValue(UIOutput.java:187) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:284) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:154) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)

Caused by: javax.el.ELException: /widgets/user_suggestion_widget_template.xhtml @88,368 value="#{select2Actions.resolveMultipleUserReference(currentValue, widgetProperty_prefixed, widgetProperty_firstLabelField, widgetProperty_secondLabelField, widgetProperty_thirdLabelField, widgetProperty_hideFirstLabel, widgetProperty_hideSecondLabel, widgetProperty_hideThirdLabel, widgetProperty_displayEmailInSuggestion, widgetProperty_hideIcon)}": java.lang.NullPointerException at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76) at javax.faces.component.UIOutput.getValue(UIOutput.java:184) ... 139 more

Caused by: java.lang.NullPointerException at org.nuxeo.ecm.platform.ui.select2.Select2ActionsBean.resolveMultipleUserReference(Select2ActionsBean.java:786) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2014-01-30 20:18:08,184 ERROR [javax.enterprise.resource.webcontainer.jsf.lifecycle] jsf.lifecycle.phase.exception

2 REPLIES 2

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

adam_bo_
Star Contributor
Star Contributor

The problem was an empty (null) field "userId" in the table user2group. It shouldn't be possible, but it was happened. I can not identify when it was inserted.