Bug #66999 Can't Edit Table
Submitted: 28 Sep 2012 3:32 Modified: 29 Oct 2012 23:38
Reporter: Christopher Santora Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.41 OS:Microsoft Windows (Microsoft Windows XP Professional Service Pack 3 (build 2600))
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[28 Sep 2012 3:32] Christopher Santora
It somehow gets into a state where I can edit some tables but not others. I right-cick "Edit Table..." and it does nothing; the Edit Table panel remains on the prior edited table. I closed EER Diagram tab and then tried to open the diagram editor again and it generated this error.

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

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Documents and Settings\Chris\Application Data\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
CPU: 4x AMD Athlon(tm) II X4 620 Processor, 3.0 GiB RAM
Active video adapter (0): NVIDIA GeForce GT 240
Installed video RAM: 512 MB
Current video mode: 1440 x 900 x 4294967296 colors
Used bit depth: 32
Driver version:
Installed display drivers: nv4_disp.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:
See description
[28 Sep 2012 14:53] Miguel Solorzano
Please try version 5.2.43. Thanks.
[29 Sep 2012 16:17] Christopher Santora
I did update to the latest version since posting this report. Is has not crashed since, but I think I did get into a state where I couldn't double-click to edit the table. Restarting the application resolves the issue.
[29 Sep 2012 23:38] Miguel Solorzano
Please try version 5.2.44. Thanks.
[30 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".