Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1.1
-
Fix Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13773 - https://icesoft.my.salesforce.com/5007000001awTzG
Description
In this scenario, the tree nodes for the ace:tree are being built from a list of objects. When the tree is displayed an ArrayIndexOutOfBoundsException is thrown when expanding the 3rd level node.
Looking at how the list is made for the nodes, everything seems to be fine and in the place where they should be.
Partial stack trace:
04-May-2016 14:52:51.508 SEVERE [http-nio-8084-exec-12] com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:368)
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:377)
at PlanNodeImpl.getChildAt(PlanNodeImpl.java:74)
at org.icefaces.ace.model.tree.ListNodeDataModel.navToChild(ListNodeDataModel.java:127)
at org.icefaces.ace.model.tree.ListNodeDataModel.navToChild(ListNodeDataModel.java:24)
at org.icefaces.ace.component.tree.Tree.setNodeToChild(Tree.java:178)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:880)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:881)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:881)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:881)
at org.icefaces.ace.component.tree.Tree.iterate(Tree.java:822)
at org.icefaces.ace.component.tree.Tree.processValidators(Tree.java:348)
...
Looking at how the list is made for the nodes, everything seems to be fine and in the place where they should be.
Partial stack trace:
04-May-2016 14:52:51.508 SEVERE [http-nio-8084-exec-12] com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:368)
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:377)
at PlanNodeImpl.getChildAt(PlanNodeImpl.java:74)
at org.icefaces.ace.model.tree.ListNodeDataModel.navToChild(ListNodeDataModel.java:127)
at org.icefaces.ace.model.tree.ListNodeDataModel.navToChild(ListNodeDataModel.java:24)
at org.icefaces.ace.component.tree.Tree.setNodeToChild(Tree.java:178)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:880)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:881)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:881)
at org.icefaces.ace.component.tree.Tree.iterateTreeLevel(Tree.java:881)
at org.icefaces.ace.component.tree.Tree.iterate(Tree.java:822)
at org.icefaces.ace.component.tree.Tree.processValidators(Tree.java:348)
...
-
Hide
- Case13773Example.war
- 13.98 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/PlanNodeImpl.class 6 kB
- WEB-INF/classes/PlanTreeBean.class 1 kB
- WEB-INF/.../PlanTreeDataFactory.class 5 kB
- WEB-INF/classes/PlanVO.class 2 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ace.jar 5.65 MB
- WEB-INF/lib/icefaces-compat.jar 4.18 MB
- WEB-INF/lib/icefaces.jar 643 kB
- WEB-INF/lib/javax.faces.jar 2.55 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 1 kB
-
Hide
- Case13773Example.zip
- 23 kB
- Arran Mccullough
-
- Case13773Example/build.xml 3 kB
- Case13773Example/.../ant-deploy.xml 2 kB
- Case13773Example/.../build-impl.xml 80 kB
- Case13773Example/.../genfiles.properties 0.5 kB
- Case13773Example/.../private.properties 0.6 kB
- Case13773Example/nbproject/.../private.xml 0.6 kB
- Case13773Example/.../project.properties 4 kB
- Case13773Example/nbproject/project.xml 1 kB
- Case13773Example/src/conf/MANIFEST.MF 0.0 kB
- Case13773Example/src/.../PlanNodeImpl.java 4 kB
- Case13773Example/src/.../PlanTreeBean.java 1 kB
- Case13773Example/.../PlanTreeDataFactory.java 8 kB
- Case13773Example/src/java/PlanVO.java 2 kB
- Case13773Example/web/index.xhtml 0.5 kB
- Case13773Example/web/.../context.xml 0.1 kB
- Case13773Example/web/WEB-INF/web.xml 2 kB
- Case13773Example/.../welcomeICEfaces.xhtml 1 kB
-
- ice11024-tree_test_2.png
- 25 kB
-
- ice11024-tree_test.png
- 18 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There are no subversion log entries for this issue yet.