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
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
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


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

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.



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)
Comment 1 bbbv 2008-11-07 08:39:13 UTC
Created attachment 73424 [details]
stacktrace
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