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 217880 - IllegalStateException: This connection is not added to the ConnectionManager.
Summary: IllegalStateException: This connection is not added to the ConnectionManager.
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 11:05 UTC by Sergey Petrov
Modified: 2012-12-19 02:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192130


Attachments
stacktrace (2.67 KB, text/plain)
2012-09-05 11:05 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2012-09-05 11:05:34 UTC
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)
Comment 1 Sergey Petrov 2012-09-05 11:05:35 UTC
Created attachment 123940 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-12-18 12:20:59 UTC
http://hg.netbeans.org/core-main/rev/23b927870b46
Fixed. Thanks for reporting.
Comment 3 Quality Engineering 2012-12-19 02:46:35 UTC
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