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

nxu:inputList crashes when using bare html tags, ui:include or bare text inside it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3.2
    • Fix Version/s: 5.1.4
    • Component/s: Seam / JSF UI

      Description

      The error happens when submitting a form using nxu:inputList.

      Error log is like:

      java.lang.IndexOutOfBoundsException: Index: 0
      at java.util.Collections$EmptyList.get(Collections.java:2975)
      at org.nuxeo.ecm.platform.ui.web.component.list.StampState.restoreStampState(StampState.java:277)
      at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.postRowDataChange(UIEditableList.java:316)
      at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.setRowIndex(UIEditableList.java:484)
      at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.processFacetsAndChildren(UIEditableList.java:876)
      at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.encodeChildren(UIEditableList.java:729)

      Or:

      java.lang.NullPointerException
      at org.nuxeo.ecm.platform.ui.web.component.list.StampState.restoreStampState(StampState.java:248)
      at org.nuxeo.ecm.platform.ui.web.component.list.StampState.restoreStampState(StampState.java:277)
      at org.nuxeo.ecm.platform.ui.web.component.list.StampState.restoreStampState(StampState.java:277)
      at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.postRowDataChange(UIEditableList.java:316)
      at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.setRowIndex(UIEditableList.java:484)

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: