Harness 4.1.4_b16.
Steps to reproduce:
1. Start the tool.
2. Open work directory, created on some template
3. Wait for test tree to load
4. Open Not Run tab on Test Suite Root
5. Select Current Configuration view filter
6. Select all tests in Not Run tab
7. Choose Copy->Names on multiple lines (right mouse button):
In rate cases there will be exception:
----------------------------------------------------------------------
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 10991, Size: 10991
at java.util.LinkedList.entry(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.sun.javatest.exec.BP_TestListSubpanel$TestTableModel.getValueAt(BP_TestListSubpanel.java:438)
at javax.swing.JTable.getValueAt(Unknown Source)
at com.sun.javatest.exec.BP_TestListSubpanel$InputListener.actionPerformed(BP_TestListSubpanel.java:1104)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
If this is not reproducible from the first time - it's just necessary to click several times on UI triggering various updates - like to select different Tests-by-status tabs, clicking on the tree, etc. Then repeat copy names.
Steps to reproduce:
1. Start the tool.
2. Open work directory, created on some template
3. Wait for test tree to load
4. Open Not Run tab on Test Suite Root
5. Select Current Configuration view filter
6. Select all tests in Not Run tab
7. Choose Copy->Names on multiple lines (right mouse button):
In rate cases there will be exception:
----------------------------------------------------------------------
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 10991, Size: 10991
at java.util.LinkedList.entry(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.sun.javatest.exec.BP_TestListSubpanel$TestTableModel.getValueAt(BP_TestListSubpanel.java:438)
at javax.swing.JTable.getValueAt(Unknown Source)
at com.sun.javatest.exec.BP_TestListSubpanel$InputListener.actionPerformed(BP_TestListSubpanel.java:1104)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
If this is not reproducible from the first time - it's just necessary to click several times on UI triggering various updates - like to select different Tests-by-status tabs, clicking on the tree, etc. Then repeat copy names.