Project

General

Profile

Bug #1771

Deleting row of taxonomic info in DPW prevents selection of other rows,

Added by Andrea Andrea almost 15 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Immediate
Category:
morpho - general
Target version:
Start date:
11/18/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1771

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.

History

#1 Updated by Will Tyburczy over 13 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)

#2 Updated by ben leinfelder over 9 years ago

i'll take a look at this

#3 Updated by ben leinfelder over 9 years ago

now checking for out of range

#4 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 1771

Also available in: Atom PDF