-
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
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)