Bug #43946 Workbench crash when try to select "Manage Stored Connections..."
Submitted: 29 Mar 2009 23:07 Modified: 29 Mar 2009 23:41
Reporter: Iurie Caraion Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.1.9 rev 5142 OS:Windows (SP3)
Assigned to: CPU Architecture:Any
Tags: crash

[29 Mar 2009 23:07] Iurie Caraion
Description:
Workbench crash when try to select "Manage Stored Connections..." in 
"Stored Connection" combobox from "Reverse Engineer Database" dialog.

How to repeat:
1) run MySql Workbench (fresh install / first run)
2) Database -> Reverse Engineer or CTRL+R
3) Select "Manage Stored Connections..." item from "Stored Connection" combobox.

result: exception is throwed

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
   at MySQL.Forms.TreeViewImpl.get_string(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , Int32 row, Int32 column)
   at MySQL.Forms.TreeViewImpl.get_string(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , TreeView* self, Int32 row, Int32 column)
   at MySQL.MCallback3<std::basic_string<char\,std::char_traits<char>\,std::allocator<char> >\,mforms::TreeView \*\,int\,int>.cpp_callback(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , TreeView* a1, Int32 a2, Int32 a3)
   at mforms.TextEntry.callback(TextEntry* )
   at MySQL.Forms.TextEntryImpl.change(Object sender, EventArgs args)
   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
   at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
   at System.Windows.Forms.Control.set_Text(String value)
   at System.Windows.Forms.TextBoxBase.set_Text(String value)
   at System.Windows.Forms.TextBox.set_Text(String value)
   at MySQL.Forms.TextEntryImpl.set_text(TextEntry* self, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text)
   at MySQL.MCallback2<void\,mforms::TextEntry \*\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&>.cpp_callback(TextEntry* a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* 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)
[29 Mar 2009 23:41] Iurie Caraion
it is duplicated of #43893
sorry