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.

Bug 152622 - NullPointerException at com.mysql.jdbc.ResultSetMetaData.getField
Summary: NullPointerException at com.mysql.jdbc.ResultSetMetaData.getField
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: John Baker
Depends on:
Reported: 2008-11-07 08:39 UTC by bbbv
Modified: 2009-05-25 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137117

stacktrace (2.70 KB, text/plain)
2008-11-07 08:39 UTC, bbbv

Note You need to log in before you can comment on or make changes to this bug.
Description bbbv 2008-11-07 08:39:09 UTC
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.

        at com.mysql.jdbc.ResultSetMetaData.getField(
        at com.mysql.jdbc.ResultSetMetaData.getColumnType(
        at com.mysql.jdbc.MysqlParameterMetadata.getParameterType(
        at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilder.executeQuery(
        at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderGraphFrame.actionPerformed(
        at javax.swing.AbstractButton.fireActionPerformed(
Comment 1 bbbv 2008-11-07 08:39:13 UTC
Created attachment 73424 [details]
Comment 2 John Baker 2008-11-10 19:31:33 UTC
The Visual Query Editor has some limitations.

Better to use the text based SQL editor for building and testing SQL
Comment 3 Petr Blaha 2008-11-18 13:08:08 UTC
Move visualsqleditor subcomponents below visualweb