Bug #66332 I was clicking on my Students table trying to get it to open so that it could be
Submitted: 12 Aug 2012 0:09 Modified: 12 Aug 2012 5:11
Reporter: Sharon Fife Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.41 OS:Windows (Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 32-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[12 Aug 2012 0:09] Sharon Fife
Description:
I was right clicking on my Students table trying to get it to open so that it could be edited when this label came up.  MySQL Workbench has encountered a problem Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.

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

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Users\Main\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 32-bit
CPU: Intel(R) Celeron(R) CPU          900  @ 2.20GHz, 1.9 GiB RAM
Active video adapter (0): Mobile Intel(R) 4 Series Express Chipset Family
Installed video RAM: 828 MB
Current video mode: 1366 x 768 x 4294967296 colors
Used bit depth: 32
Driver version: 8.15.10.1883
Installed display drivers: igdumdx32.dll,igd10umd32.dll,igd10umd32.dll
Current user language: English (United States)

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:
I was clicking on my Students table trying to get it to open so that it could be edited when this label came up.  MySQL Workbench has encountered a problem Unable to cast object of type 'MySQL.Forms.MenuItemImpl' to type 'MySQL.GUI.&
[12 Aug 2012 5:11] Alfredo Kojima
Duplicate of bug #66013