-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 5.8
-
Fix Version/s: 5.8.0-HF04
-
Component/s: Layouts & Widgets
In Studio I create a layout containing a complex field as a list widget
In the complex field I use a single directory suggestion widget
When I use this layout and try to click on the add button the platform crashes with NPE. See stacktrace below :
Caused by: javax.el.ELException: /widgets/suggest_one_directory_widget_template.xhtml @56,92 value="#{select2Actions.encodeParametersForDirectory(widget, widgetProperties)}": java.lang.NullPointerException at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76) at javax.faces.component.UIOutput.getValue(UIOutput.java:184) ... 173 more Caused by: java.lang.NullPointerException at org.nuxeo.ecm.platform.ui.select2.Select2ActionsBean.encodeParameters(Select2ActionsBean.java:219) at org.nuxeo.ecm.platform.ui.select2.Select2ActionsBean.encodeParametersForDirectory(Select2ActionsBean.java:149) at sun.reflect.GeneratedMethodAccessor1034.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- is duplicated by
-
NXP-13386 Fix NPE for suggestion widgets within list widgets
- Resolved