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 080808) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Windows Vista, 6.0, x86 User Comments: 1.) Selected table colum and clicked design query 2.) Added group-by clause 3.) Ran query and got results as a table 4.) Right-clicked on table and clicked Copy-Cell value and got this exception Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.Vector.elementAt(Vector.java:430) at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:633) at javax.swing.JTable.getValueAt(JTable.java:2664) at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderResultTable.actionPerformed(QueryBuilderResultTable.java:302) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Created attachment 66945 [details] stacktrace
may fix for 6.5 (if time) and also if I can find someone to verify the fix.
Build: NetBeans IDE Dev (Build 200811060201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows Vista, 6.0, x86 User Comments: Copy Cell Value in the Run Query of the Visual SQL Editor Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.Vector.elementAt(Vector.java:430) at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:633) at javax.swing.JTable.getValueAt(JTable.java:2695) at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderResultTable.actionPerformed(QueryBuilderResultTable.java:302) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Created attachment 73458 [details] stacktrace
Move visualsqleditor subcomponents below visualweb
Query editor is not part of visual web any more.