Bug #1771
closedDeleting row of taxonomic info in DPW prevents selection of other rows,
0%
Description
In the top portion of the taxonomic coverage screen in the DPW, if you add a
few rows of information, and then delete the bottom row, the other rows become
unselectable, and the DELETE and EDIT buttons disappear.
This bug was discovered by Veronique.
Updated by Will Tyburczy over 18 years ago
This seems to occur anytime the last row of information is deleted after another row has been added or deleted. I get similar behavior when trying to delete keywords from a keywordSet. When this occurs in the taxonomicCoverage area, the OK button also fails to work, preventing the saving of any changes.
The std.err log gives:
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 16 >= 16
at java.util.Vector.elementAt(Vector.java:432)
at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:621)
at javax.swing.JTable.getValueAt(JTable.java:1902)
at edu.ucsb.nceas.morpho.plugins.datapackagewizard.CustomJTable.getTextFieldEditor(CustomList.java:1793)
at edu.ucsb.nceas.morpho.plugins.datapackagewizard.CustomJTable.changeSelection(CustomList.java:1844)
(I've truncated the stackTrace here)