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.
Build: NetBeans IDE Dev (Build 20130625-bb06ec1a02a7) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: rodrigorsantos: <Please provide a description of the problem or the steps to reproduce> Error while Insert Record (Alt +I) Stacktrace: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at org.netbeans.modules.db.dataview.table.ResultSetTableModel.getValueAt(ResultSetTableModel.java:244) at org.netbeans.modules.db.dataview.output.InsertRecordDialog.getInsertValues(InsertRecordDialog.java:537) at org.netbeans.modules.db.dataview.output.InsertRecordDialog.refreshSQL(InsertRecordDialog.java:465) at org.netbeans.modules.db.dataview.output.InsertRecordDialog$TableListener.tableChanged(InsertRecordDialog.java:365)
Created attachment 136433 [details] stacktrace
I'm sorry, I cannot reproduce the bug. Can you please provide more information? How many rows did you try to add? When did the exception appear? Were the columns in "Add Record(s)" dialog sorted? Is the exception raised every time you try to add new records? Thank you.
I've finally managed to reproduce the bug. Hopefully fixed in http://hg.netbeans.org/core-main/rev/2f8a5b942406. Please verify. Thank you for reporting.
*** Bug 231960 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201307011244* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2f8a5b942406 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #231959: IndexOutOfBoundsException: Index: 1, Size: 1