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 210279, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20120905-e7b1cf8674c3) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: sj-nb: -new connection was created for mysql with "new connection" -select and disconnect -delete, got this exception Stacktrace: java.lang.IllegalStateException: This connection is not added to the ConnectionManager. at org.netbeans.api.db.explorer.ConnectionManager.showConnectionDialog(ConnectionManager.java:352) at org.netbeans.modules.db.mysql.actions.ConnectAction$1.connectionsChanged(ConnectAction.java:132) at org.netbeans.modules.db.explorer.ConnectionList.fireListeners(ConnectionList.java:202) at org.netbeans.modules.db.explorer.ConnectionList.access$000(ConnectionList.java:72) at org.netbeans.modules.db.explorer.ConnectionList$1.resultChanged(ConnectionList.java:110) at org.openide.util.lookup.ProxyLookup$1Notify.run(ProxyLookup.java:181)
Created attachment 123940 [details] stacktrace
http://hg.netbeans.org/core-main/rev/23b927870b46 Fixed. Thanks for reporting.
Integrated into 'main-golden', will be available in build *201212190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/23b927870b46 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #217880: IllegalStateException: This connection is not added to the ConnectionManager