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 62096 - Execute SQL - NPE at ConnectionManager.showConnectionDialog():161
Summary: Execute SQL - NPE at ConnectionManager.showConnectionDialog():161
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 16:47 UTC by Martin Schovanek
Modified: 2005-11-18 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2005-08-10 16:47:06 UTC
[#20050810, jdk1.4.2]

to reproduce:
-------------
1) create new SQL file
NOTE: there is not a connection in the Connection combo
2) click Execute SQL icon
ERROR: IDE throws:
java.lang.NullPointerException
	at
org.netbeans.modules.db.api.ConnectionManager.showConnectionDialog(ConnectionManager.java:161)
	at
org.netbeans.modules.db.sql.loader.SqlEditorSupport.executeSql(SqlEditorSupport.java:208)
....
Comment 1 Andrei Badea 2005-08-10 17:29:10 UTC
Fixed.
Comment 2 Martin Schovanek 2005-11-18 17:45:14 UTC
VERIFIED