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 209797 - connectionManager.getConnections() return empty set after connectionManager.showAddConnectionDialog
Summary: connectionManager.getConnections() return empty set after connectionManager.s...
Status: RESOLVED DUPLICATE of bug 209788
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 15:36 UTC by nnnnnk
Modified: 2012-03-20 16:18 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 nnnnnk 2012-03-20 15:36:08 UTC
Hello,

I have code like this:
---
connectionManager.showAddConnectionDialog(getDriver("oracle.jdbc.OracleDriver"), "jdbc:oracle:thin:@" + server + ":1521:XE", "", "");
DatabaseConnection[] newConnections = connectionManager.getConnections();
---
And newConnections is empty even if showAddConnectionDialog created connection (it would appear in services tab).

This functionality was broken about 9 days ago.
And there are 9 broken tests.

Regards,
Nikolay.
Comment 1 Jiri Rechtacek 2012-03-20 16:18:03 UTC
It must a regression caused recently in these days. Have to be fixed ASAP.

*** This bug has been marked as a duplicate of bug 209788 ***