Bug #72559 | Unexpected Error in MySQL Workbench editing text object | ||
---|---|---|---|
Submitted: | 7 May 2014 10:53 | Modified: | 17 Jun 2014 1:33 |
Reporter: | Eric Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S2 (Serious) |
Version: | 6.1.4.11773 build 1454 | OS: | Windows (7) |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, Text Object, workbench |
[7 May 2014 10:53]
Eric Smith
[7 May 2014 14:28]
MySQL Verification Team
Hello Eric, Thank you for the bug report. Verified as described. Thanks, Umesh
[7 May 2014 14:31]
MySQL Verification Team
// 18:52:56 [INF][ Canvas backend]: Found OpenGL version for this view: 2.1.0 - Build 8.15.10.2182 18:54:03 [INF][ Canvas backend]: Found OpenGL version for this view: 2.1.0 - Build 8.15.10.2182 18:54:48 [ERR][ Workbench]: Object reference not set to an instance of an object. Exception = System.NullReferenceException Message = Object reference not set to an instance of an object. FullText = System.NullReferenceException: Object reference not set to an instance of an object. at MySQL.GUI.Workbench.Plugins.NoteEditor.RefreshFormData() at MySQL.GUI.Workbench.Plugins.ObjectEditorPlugin.CallRefreshFormData() at MySQL.Grt.RunWrappedDelegate0<void\,void\,MySQL::Grt::DelegateSlot0<void\,void>::ManagedDelegate>.native_callback() at boost.detail.function.void_function_invoker0<void (__cdecl*)(void),void>.invoke(function_buffer* function_ptr) at NoteEditorBE.set_text(NoteEditorBE* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* ) at MySQL.Grt.NoteEditorBE.set_text(String text) at MySQL.GUI.Workbench.Plugins.NoteEditor.sqlTextBox_TextChanged(Object sender, EventArgs e) at System.Windows.Forms.Control.OnTextChanged(EventArgs e) at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e) at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.TextBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 19:03:20 [INF][ Workbench]: Shutting down Workbench 19:03:20 [INF][ mforms managed]: Shutting down mforms wrapper 19:03:20 [INF][ Workbench]: Done
[8 May 2014 8:04]
Eric Smith
Workaround for anyone else affected: 1. Close diagram 2. Close model 3. Re-open model from Workbench home tab 4. Re-open diagram
[17 Jun 2014 1:33]
Philip Olson
Fixed as of the upcoming MySQL Workbench 6.1.7 release, and here's the changelog entry: For a new EER diagram, editing a text object after adding a different text object could cause MySQL Workbench to crash. A workaround was to close the new diagram and model, and then reopen the model and diagram. Thank you for the bug report.