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

Summary: NullPointerException at org.netbeans.modules.db.dataview.meta.DBMetaDataFactory.generateDBTables
Product: db Reporter: John Baker <jbaker>
Component: Show DataAssignee: _ ahimanikya <ahimanikya>
Status: VERIFIED FIXED    
Severity: blocker CC: romanmostyka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=82723
Issue Type: DEFECT Exception Reporter: 82723
Attachments: sql script to create a schema

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.