Bug #51063 Crashed saving a project
Submitted: 10 Feb 2010 16:45 Modified: 26 Mar 2010 12:34
Reporter: Andrea Bergamasco Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.16 OSS Beta OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any

[10 Feb 2010 16:45] Andrea Bergamasco
Description:
Exception = System.ArgumentOutOfRangeException
Message = Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione dell'insieme.
Nome parametro: index
FullText = System.ArgumentOutOfRangeException: Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione dell'insieme.
Nome parametro: index
   in System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   in System.ThrowHelper.ThrowArgumentOutOfRangeException()
   in System.Collections.Generic.List`1.get_Item(Int32 index)
   in System.Collections.ObjectModel.ReadOnlyCollection`1.get_Item(Int32 index)
   in MySQL.GUI.Workbench.MainForm.mainDockPanel_ActiveDocumentChanged(Object sender, EventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.OnActiveDocumentChanged(EventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.RefreshActiveWindow()
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.HookEventHandler(Object sender, HookEventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.OnHookInvoked(HookEventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.NativeMethods.CallNextHookEx(IntPtr hhook, Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.NativeMethods.CallNextHookEx(IntPtr hhook, Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
   in System.Windows.Forms.UnsafeNativeMethods.SetFocus(HandleRef hWnd)
   in System.Windows.Forms.ContainerControl.FocusActiveControlInternal()
   in System.Windows.Forms.ContainerControl.SetActiveControlInternal(Control value)
   in System.Windows.Forms.ContainerControl.SetActiveControl(Control ctl)
   in System.Windows.Forms.ContainerControl.set_ActiveControl(Control value)
   in System.Windows.Forms.Control.Select(Boolean directed, Boolean forward)
   in System.Windows.Forms.Control.SelectNextControl(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
   in System.Windows.Forms.Control.SelectNextControlInternal(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
   in System.Windows.Forms.Control.SelectNextIfFocused()
   in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   in System.Windows.Forms.Control.set_Visible(Boolean value)
   in WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible()
   in WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
   in WeifenLuo.WinFormsUI.Docking.DockPaneStripBase.OnMouseDown(MouseEventArgs e)
   in System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in WeifenLuo.WinFormsUI.Docking.DockPaneStripBase.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Don't know how to repeat, tried to reproduce but nothing happened.
[21 Feb 2010 17:15] Valeriy Kravchuk
Thank you for the problem report. Please, check if you can repeat the crash with a newer version, 5.2.16.
[22 Feb 2010 18:57] Andrea Bergamasco
Crashed again with newer version, i clicked in sequence on these tabs:

EER Diagram
MySQL Model
EER Diagram

when i clicked the second time on EER Diagram i had a crash warning with the following crash dump, but the application hasn't been killed:

Exception = System.ArgumentOutOfRangeException
Message = Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione dell'insieme.
Nome parametro: index
FullText = System.ArgumentOutOfRangeException: Index non compreso nell'intervallo. Richiesto valore non negativo e minore della dimensione dell'insieme.
Nome parametro: index
   in System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   in System.ThrowHelper.ThrowArgumentOutOfRangeException()
   in System.Collections.Generic.List`1.get_Item(Int32 index)
   in System.Collections.ObjectModel.ReadOnlyCollection`1.get_Item(Int32 index)
   in MySQL.GUI.Workbench.MainForm.mainDockPanel_ActiveDocumentChanged(Object sender, EventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.OnActiveDocumentChanged(EventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.RefreshActiveWindow()
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.HookEventHandler(Object sender, HookEventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.OnHookInvoked(HookEventArgs e)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.NativeMethods.CallNextHookEx(IntPtr hhook, Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.NativeMethods.CallNextHookEx(IntPtr hhook, Int32 code, IntPtr wParam, IntPtr lParam)
   in WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
   in System.Windows.Forms.UnsafeNativeMethods.SetFocus(HandleRef hWnd)
   in System.Windows.Forms.ContainerControl.FocusActiveControlInternal()
   in System.Windows.Forms.ContainerControl.SetActiveControlInternal(Control value)
   in System.Windows.Forms.ContainerControl.SetActiveControl(Control ctl)
   in System.Windows.Forms.ContainerControl.set_ActiveControl(Control value)
   in System.Windows.Forms.Control.Select(Boolean directed, Boolean forward)
   in System.Windows.Forms.Control.SelectNextControl(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
   in System.Windows.Forms.Control.SelectNextControlInternal(Control ctl, Boolean forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
   in System.Windows.Forms.Control.SelectNextIfFocused()
   in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   in System.Windows.Forms.Control.set_Visible(Boolean value)
   in WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible()
   in WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
   in WeifenLuo.WinFormsUI.Docking.DockPaneStripBase.OnMouseDown(MouseEventArgs e)
   in System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in WeifenLuo.WinFormsUI.Docking.DockPaneStripBase.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[23 Feb 2010 10:35] Susanne Ebrecht
Unfortunately, I am not able to repeat this.
[26 Feb 2010 12:34] MySQL Verification Team
Thank you for the feedback. I couldn't repeat on Windows Vista X64. Could you please provide the output of Help -> System Info?. Thanks in advance.
[27 Mar 2010 0: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".