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 6.5 RC1 (Build 200810171318) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments: bbbv: Executing the SQl statement in the SQL editor based on the corresponding view from the SQL database of the application that i'm building. Stacktrace: java.lang.NullPointerException at com.mysql.jdbc.ResultSetMetaData.getField(ResultSetMetaData.java:339) at com.mysql.jdbc.ResultSetMetaData.getColumnType(ResultSetMetaData.java:226) at com.mysql.jdbc.MysqlParameterMetadata.getParameterType(MysqlParameterMetadata.java:80) at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilder.executeQuery(QueryBuilder.java:1239) at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderGraphFrame.actionPerformed(QueryBuilderGraphFrame.java:1722) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Created attachment 73424 [details] stacktrace
The Visual Query Editor has some limitations. Better to use the text based SQL editor for building and testing SQL
Move visualsqleditor subcomponents below visualweb