Description:
While trying to edit a table that was created just few minutes ago using mouse double click -- it throwed error"Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.Workbench.Plugins.DocablePlugin'.
Note: But it worked again for some time after I restart the system.
----- Developer Notes -----
MySQL Workbench CE for Windows version 5.2.41 revision 9727
Configuration Directory: C:\Users\Administrator\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows Server 2008 R2 Standard Edition Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Xeon(R) CPU E31220 @ 3.10GHz, 8.0 GiB RAM
Current user language: English (India)
Exception = System.InvalidCastException
Message = Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
FullText = System.InvalidCastException: Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
at MySQL.GUI.Workbench.Plugins.DockablePlugin.GetFromFixedPtr(IntPtr ptr)
at MySQL.GUI.Workbench.MainForm.ShowPlugin(IntPtr ptr)
at MySQL.Forms.AppImpl.show_editor_wrapper(UInt32 native_handle)
at boost.detail.function.void_function_invoker1<void (__cdecl*)(unsigned int),void,unsigned int>.invoke(function_buffer* function_ptr, UInt32 a0)
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:
1. Create a table
2. Play some time with administration
3. Create EER diagram - play with it some time
4. Double click on the table
5. Got the error!