Bug #66730 Tried to open a new connection for SQL development
Submitted: 7 Sep 2012 10:15 Modified: 11 Oct 2012 23:56
Reporter: [ name withheld ] Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.41 OS:Windows (Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[7 Sep 2012 10:15] [ name withheld ]
Description:
Quickly opened one connection after closing another. was to same ip address, but different schema

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Users\Tony Humphreys\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7  Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz, 4.0 GiB RAM
Active video adapter (0): NVIDIA GeForce GT 620
Installed video RAM: 1024 MB
Current video mode: 1280 x 1024 x 4294967296 colors
Used bit depth: 32
Driver version: 8.17.12.9585
Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Current user language: English (United Kingdom)

Exception = System.InvalidOperationException
Message = Handle is not initialized.
FullText = System.InvalidOperationException: Handle is not initialized.
   at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
   at MySQL.Forms.ObjectImpl.FromUnmanaged(Object* object)
   at MySQL.Forms.TreeNodeViewImpl.root_node(TreeNodeRef* , TreeNodeView* self)
   at MySQL.MCallback1<mforms::TreeNodeRef\,mforms::TreeNodeView \*>.cpp_callback(TreeNodeRef* , TreeNodeView* arg1)
   at wb.WBContext.flush_idle_tasks(WBContext* )
   at MySQL.Workbench.WbContext.flush_idle_tasks()
   at MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)

How to repeat:
Create 2 schemas on one database. create 2 connections to 2 different scehams on same database. Open one then close it and immediatly open the other schema on same server
[11 Sep 2012 23:56] MySQL Verification Team
Please try version 5.2.42. Thanks.
[12 Oct 2012 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".