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 179531 - NullPointerException at org.netbeans.modules.db.dataview.meta.DBMetaDataFactory.generateDBTables
Summary: NullPointerException at org.netbeans.modules.db.dataview.meta.DBMetaDataFacto...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 03:23 UTC by ibreuker
Modified: 2010-03-19 05:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 164339


Attachments
stacktrace (759 bytes, text/plain)
2010-01-15 03:23 UTC, ibreuker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ibreuker 2010-01-15 03:23:26 UTC
This bug was originally marked as duplicate of bug 141820, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
ibreuker: I executed a DB query on a H2 database.
This query executes normally when I enter it using the H2 webinterface to the database.

GUEST: Querying SQLite using a a query with an aggregate function

GUEST: execute follow sql query
select total(amount) from table

in sql command window with sqlite-jdbc



Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.dataview.meta.DBMetaDataFactory.generateDBTables(DBMetaDataFactory.java:183)
   at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.initialDataLoad(SQLExecutionHelper.java:129)
   at org.netbeans.modules.db.dataview.output.DataView.create(DataView.java:102)
   at org.netbeans.modules.db.dataview.api.DataView.create(DataView.java:71)
   at org.netbeans.modules.db.sql.execute.SQLExecuteHelper.execute(SQLExecuteHelper.java:116)
   at org.netbeans.modules.db.sql.loader.SQLEditorSupport$SQLExecutor.run(SQLEditorSupport.java:531)
Comment 1 ibreuker 2010-01-15 03:23:29 UTC
Created attachment 93308 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-01-15 03:23:37 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=164339
Comment 3 Jiri Rechtacek 2010-03-17 13:03:14 UTC
core-main/rev/e62ae86d2efe
Comment 4 Quality Engineering 2010-03-19 05:14:04 UTC
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e62ae86d2efe
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #179531: NullPointerException at org.netbeans.modules.db.dataview.meta.DBMetaDataFactory.generateDBTables