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.
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)
Created attachment 93308 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=164339
core-main/rev/e62ae86d2efe
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