Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16990

Fix chain select init when handling an existing value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF11, 7.3
    • Component/s: Layouts & Widgets
    • Tags:
    • Sprint:
      nxNag Sprint 7.3.2

      Description

      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)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: