This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
See URL for an example, excerpted here: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at org.openide.explorer.view.VisualizerNode.getChildAt(VisualizerNode.java:261) at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156) at org.netbeans.jemmy.operators.JTreeOperator$3.map(JTreeOperator.java:462) at org.netbeans.jemmy.operators.Operator$MapAction.launch(Operator.java:1234) at org.netbeans.jemmy.QueueTool$QueueAction.run(QueueTool.java:541) I have seen this same stack trace a number of times in the past.
Often breaks CND commit validation.
Fixed in JTreeOperator#chooseSubnode. We need to catch IndexOutOfBoundsException from getChild and return null (it means tree has been re-generated and we need another iteration to find a proper tree path). Url: http://jemmy.netbeans.org/source/browse/jemmy/src/org/netbeans/jemmy/operators/JTreeOperator.java?r1=1.29&r2=1.30
Created attachment 46015 [details] Entire stack trace to understand changes in JTreeOperator.