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.
This bug was originally marked as duplicate of bug 233172, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Windows 7 User Comments: GUEST: Just running my project Stacktrace: java.lang.IndexOutOfBoundsException: valid viewIndex: 0 <= index < 0 but was: 19 at org.jdesktop.swingx.sort.DefaultSortController.convertRowIndexToModel(DefaultSortController.java:311) at javax.swing.JTable.convertRowIndexToModel(JTable.java:2644) at org.netbeans.modules.db.dataview.table.ResultSetJXTable.isCellEditable(ResultSetJXTable.java:305) at org.jdesktop.swingx.JXTable.setValueAt(JXTable.java:1471) at javax.swing.JTable.editingStopped(JTable.java:4725) at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
Created attachment 149558 [details] stacktrace
Ok - I'm still not sure how illegal indices reach that method, but nonetheless this should be handled gracefully. The fix committed as: http://hg.netbeans.org/core-main/rev/c890e5fa5588 handles this situation by marking an illegal index combination as not editable instead of throwing an exception. If someone can reproduce this problem it would be good if he/she could try the nightly build resulting from this change and verify the fix. Thank you!
Integrated into 'main-silver', will be available in build *201504040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c890e5fa5588 User: Matthias Blaesing <matthias42@netbeans.org> Log: #247520: Ensure illegal column/row index is handled sane way by ResultSetJXTable