| Bug #69329 | MySQL Workbench crashes on attempt to close Manage Stored Connections window | ||
|---|---|---|---|
| Submitted: | 27 May 2013 20:06 | Modified: | 31 Jul 2013 14:54 |
| Reporter: | Roman Syroeshko | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Workbench | Severity: | S2 (Serious) |
| Version: | 5.2.47 | OS: | Windows (7 Home Basic 64-bit) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | reverse engineering, stored connections, unable to cast, workbench | ||
[27 May 2013 20:06]
Roman Syroeshko
[27 May 2013 20:10]
Roman Syroeshko
Error report screenshot.
Attachment: 69329_error_report_screen.png (image/png, text), 51.92 KiB.
[27 May 2013 20:36]
MySQL Verification Team
Thank you for the bug report. Exception = System.InvalidCastException Message = Unable to cast object of type 'MySQL.Forms.SeparatorItem' to type 'System.String'. FullText = System.InvalidCastException: Unable to cast object of type 'MySQL.Forms.SeparatorItem' to type 'System.String'. at MySQL.Forms.SelectorImpl.get_item(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , Selector* self, Int32 index) at MySQL.MCallback2<std::basic_string<char\,std::char_traits<char>\,std::allocator<char> >\,mforms::Selector \*\,int>.cpp_callback(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , Selector* a1, Int32 a2) at mforms.Selector.callback(Selector* ) at MySQL.Forms.SelectorImpl.selection_changed(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.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)
[31 Jul 2013 14:54]
Philip Olson
Fixed as of MySQL Workbench 6.0.4, and here's the changelog entry: Connection handling was refactored. All defined connections are now listed, when before only "stored" connections were shown. Additionally, the last used connection is now highlighted by default. This also solves a problem where the connection manager window could crash when it was closed. Thank you for the bug report.
