-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0
-
Component/s: Layouts & Widgets
-
Tags:
-
Sprint:nxNag Sprint 7.3.2
When the chain select is initialized with a non-null value, and direct subcomponents are not chain select listbox components, the widget rendering can throw an error similar to:
Caused by: java.lang.NullPointerException at org.nuxeo.ecm.platform.ui.web.directory.ChainSelect.createSelection(ChainSelect.java:624) at org.nuxeo.ecm.platform.ui.web.directory.ChainSelect.init(ChainSelect.java:589) at org.nuxeo.ecm.platform.ui.web.directory.ChainSelect.encodeBegin(ChainSelect.java:295) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1855) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860) at javax.faces.render.Renderer.encodeChildren(Renderer.java:176) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)