java.lang.IndexOutOfBoundsException: Index: 0

ICEsoft JIRA Issue Tracker | Carmen Cristurean | 1 year ago
  1. 0

    Trying to re-order nodes on the test using the lazy data model (/ICE-10723-lazy.jsf) results in either an UnsupportedOperationException, or an IndexOutOfBoundException, depending on the node being dragged. QA test app for ace:tree: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/tree Test page: /ICE-10723-lazy.jsf Nov 19, 2015 2:35:05 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError SEVERE: java.lang.UnsupportedOperationException at org.icefaces.ace.model.tree.NodeDataModel.insert(NodeDataModel.java:77) at org.icefaces.ace.component.tree.Tree.insertNode(Tree.java:98) at org.icefaces.ace.component.tree.TreeDecoder.decodeReordering(TreeDecoder.java:86) at org.icefaces.ace.component.tree.TreeDecoder.decode(TreeDecoder.java:66) at org.icefaces.ace.component.tree.TreeRenderer$1.<init>(TreeRenderer.java:64) at org.icefaces.ace.component.tree.TreeRenderer.decode(TreeRenderer.java:63) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) at org.icefaces.ace.component.tree.Tree.processDecodes(Tree.java:299) at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) at org.icefaces.ace.component.tree.Tree.visitTree(Tree.java:392) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:322) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) Nov 19, 2015 2:34:38 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError SEVERE: java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Collections.java:3212) at org.icefaces.ace.model.tree.LazyNodeDataModel.navToChild(LazyNodeDataModel.java:100) at org.icefaces.ace.model.tree.LazyNodeDataModel.navToKey(LazyNodeDataModel.java:72) at org.icefaces.ace.component.tree.Tree.setNodeToKey(Tree.java:157) at org.icefaces.ace.component.tree.Tree.setKey(Tree.java:125) at org.icefaces.ace.component.tree.TreeDecoder.decodeReordering(TreeDecoder.java:84) at org.icefaces.ace.component.tree.TreeDecoder.decode(TreeDecoder.java:66) at org.icefaces.ace.component.tree.TreeRenderer$1.<init>(TreeRenderer.java:64) at org.icefaces.ace.component.tree.TreeRenderer.decode(TreeRenderer.java:63) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) at org.icefaces.ace.component.tree.Tree.processDecodes(Tree.java:299) at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) at org.icefaces.ace.component.tree.Tree.visitTree(Tree.java:392) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:322) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927)

    ICEsoft JIRA Issue Tracker | 1 year ago | Carmen Cristurean
    java.lang.IndexOutOfBoundsException: Index: 0
  2. 0

    Trying to re-order nodes on the test using the lazy data model (/ICE-10723-lazy.jsf) results in either an UnsupportedOperationException, or an IndexOutOfBoundException, depending on the node being dragged. QA test app for ace:tree: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/tree Test page: /ICE-10723-lazy.jsf Nov 19, 2015 2:35:05 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError SEVERE: java.lang.UnsupportedOperationException at org.icefaces.ace.model.tree.NodeDataModel.insert(NodeDataModel.java:77) at org.icefaces.ace.component.tree.Tree.insertNode(Tree.java:98) at org.icefaces.ace.component.tree.TreeDecoder.decodeReordering(TreeDecoder.java:86) at org.icefaces.ace.component.tree.TreeDecoder.decode(TreeDecoder.java:66) at org.icefaces.ace.component.tree.TreeRenderer$1.<init>(TreeRenderer.java:64) at org.icefaces.ace.component.tree.TreeRenderer.decode(TreeRenderer.java:63) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) at org.icefaces.ace.component.tree.Tree.processDecodes(Tree.java:299) at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) at org.icefaces.ace.component.tree.Tree.visitTree(Tree.java:392) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:322) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) Nov 19, 2015 2:34:38 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError SEVERE: java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Collections.java:3212) at org.icefaces.ace.model.tree.LazyNodeDataModel.navToChild(LazyNodeDataModel.java:100) at org.icefaces.ace.model.tree.LazyNodeDataModel.navToKey(LazyNodeDataModel.java:72) at org.icefaces.ace.component.tree.Tree.setNodeToKey(Tree.java:157) at org.icefaces.ace.component.tree.Tree.setKey(Tree.java:125) at org.icefaces.ace.component.tree.TreeDecoder.decodeReordering(TreeDecoder.java:84) at org.icefaces.ace.component.tree.TreeDecoder.decode(TreeDecoder.java:66) at org.icefaces.ace.component.tree.TreeRenderer$1.<init>(TreeRenderer.java:64) at org.icefaces.ace.component.tree.TreeRenderer.decode(TreeRenderer.java:63) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) at org.icefaces.ace.component.tree.Tree.processDecodes(Tree.java:299) at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) at org.icefaces.ace.component.tree.Tree.visitTree(Tree.java:392) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:322) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927)

    ICEsoft JIRA Issue Tracker | 1 year ago | Carmen Cristurean
    java.lang.IndexOutOfBoundsException: Index: 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    /mcconvert experience linear

    GitHub | 2 years ago | mcMMO
    java.lang.IndexOutOfBoundsException: Index: 0
  5. 0

    1.8 errors

    GitHub | 2 years ago | noorkoteb
    java.lang.IndexOutOfBoundsException: Index: 0

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Index: 0

      at java.util.Collections$EmptyList.get()
    2. Java RT
      Collections$EmptyList.get
      1. java.util.Collections$EmptyList.get(Collections.java:3212)
      1 frame
    3. org.icefaces.ace
      TreeRenderer.decode
      1. org.icefaces.ace.model.tree.LazyNodeDataModel.navToChild(LazyNodeDataModel.java:100)
      2. org.icefaces.ace.model.tree.LazyNodeDataModel.navToKey(LazyNodeDataModel.java:72)
      3. org.icefaces.ace.component.tree.Tree.setNodeToKey(Tree.java:157)
      4. org.icefaces.ace.component.tree.Tree.setKey(Tree.java:125)
      5. org.icefaces.ace.component.tree.TreeDecoder.decodeReordering(TreeDecoder.java:84)
      6. org.icefaces.ace.component.tree.TreeDecoder.decode(TreeDecoder.java:66)
      7. org.icefaces.ace.component.tree.TreeRenderer$1.<init>(TreeRenderer.java:64)
      8. org.icefaces.ace.component.tree.TreeRenderer.decode(TreeRenderer.java:63)
      8 frames
    4. JavaEE 7
      UIComponentBase.decode
      1. javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832)
      1 frame
    5. org.icefaces.ace
      Tree.processDecodes
      1. org.icefaces.ace.component.tree.Tree.processDecodes(Tree.java:299)
      1 frame
    6. JSF
      PartialVisitContext.invokeVisitCallback
      1. com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573)
      2. com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)
      2 frames
    7. org.icefaces.ace
      Tree.visitTree
      1. org.icefaces.ace.component.tree.Tree.visitTree(Tree.java:392)
      1 frame
    8. JavaEE 7
      UIComponent.visitTree
      1. javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
      2. javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
      3. javax.faces.component.UIForm.visitTree(UIForm.java:371)
      4. javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
      5. javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
      5 frames
    9. JSF
      PartialViewContextImpl.processPartial
      1. com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403)
      2. com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266)
      2 frames
    10. JavaEE 7
      PartialViewContextWrapper.processPartial
      1. javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219)
      1 frame
    11. org.icefaces.impl
      DOMPartialViewContext.processPartial
      1. org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:322)
      1 frame
    12. JavaEE 7
      UIViewRoot.processDecodes
      1. javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219)
      2. javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927)
      2 frames