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 141820 - NullPointerException at org.netbeans.modules.db.dataview.meta.DBMetaDataFactory.generateDBTables
Summary: NullPointerException at org.netbeans.modules.db.dataview.meta.DBMetaDataFacto...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ ahimanikya
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-28 00:13 UTC by John Baker
Modified: 2008-07-28 17:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 82723


Attachments
sql script to create a schema (2.23 KB, text/plain)
2008-07-28 00:17 UTC, John Baker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2008-07-28 00:13:54 UTC
Build: NetBeans IDE Dev (Build 080725)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-121, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-241
OS: Mac OS X, 10.4.11, i386

User Comments: 

Run create schema script using an existing connection for a different schema

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.dataview.meta.DBMetaDataFactory.generateDBTables(DBMetaDataFactory.java:220)
        at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.initialDataLoad(SQLExecutionHelper.java:108)
        at org.netbeans.modules.db.dataview.output.DataView.create(DataView.java:104)
        at org.netbeans.modules.db.dataview.api.DataView.create(DataView.java:71)
        at org.netbeans.modules.db.sql.execute.SQLExecuteHelper.execute(SQLExecuteHelper.java:112)
        at org.netbeans.modules.db.sql.loader.SQLEditorSupport$SQLExecutor.run(SQLEditorSupport.java:482)
Comment 1 John Baker 2008-07-28 00:16:32 UTC
Script fails to execute raising to P2
Comment 2 John Baker 2008-07-28 00:17:21 UTC
Created attachment 65757 [details]
sql script to create a schema
Comment 3 _ ahimanikya 2008-07-28 11:20:32 UTC
http://hg.netbeans.org/main/rev/e810fb2d0533
Comment 4 Roman Mostyka 2008-07-28 17:39:56 UTC
Verified with build 080728.