Bug #1771
closed
Deleting row of taxonomic info in DPW prevents selection of other rows,
Added by Andrea Andrea about 20 years ago.
Updated almost 15 years ago.
Category:
morpho - general
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.
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)
now checking for out of range
Original Bugzilla ID was 1771
Also available in: Atom
PDF