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.
Product Version: NetBeans IDE Dev (Build 20080903003257) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ Place jTable in container 1. invoke table content (invoke popup menu on jTable in designer and choose Table Contents) 2. Switch to Columns tab Card and select the second column (Type) of the last row = > Combo should appear. 3. Press Delete 4. Select the another row which is on the last position now => IOBE is thrown Table content could not be saved now StackTrace: =========== java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.LinkedList.entry(LinkedList.java:365) at java.util.LinkedList.get(LinkedList.java:315) at org.netbeans.modules.form.editors.TableCustomizer$CustomizerTableModel.setValueAt(TableCustomizer.java:1876) at javax.swing.JTable.setValueAt(JTable.java:2719) at javax.swing.JTable.editingStopped(JTable.java:4721) at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:125)
Reproducible - cell editing should be stopped before the row is deleted.
Fixed. Modified file: http://hg.netbeans.org/main?cmd=changeset;node=0d39febc28d4
verified on Product Version: NetBeans IDE Dev (Build 20080905031732) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)