Bug #51088 Exception thrown when cancelling SSL Login for Manage Security
Submitted: 11 Feb 2010 11:48 Modified: 16 Feb 2010 14:14
Reporter: Greg Thomas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.15 Revision 5053 OS:Windows
Assigned to: Alfredo Kojima CPU Architecture:Any

[11 Feb 2010 11:48] Greg Thomas
Description:
If you cancel the SSL login prompt for the "Manage Security" option, an exception is caught and reported. Details are below:

Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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)

How to repeat:
1. Under "Server Administration", click the "Server Administration" link.
2. Select an SSL enabled server to connect to.
3. When prompted for you remote login password, close the window using the "x" in the top right.
4. Acknowledge the "SSH connection cancelled" dialogue.
5. Workbench reports that it has encountered a problem.

Note. This doesn't happen when you double click on a server to manage it; it only happen when you click on either the "Server Administration" link or the "Manage Security" link - probably something do do with the selection of the server you wish to administer.
[11 Feb 2010 18:18] Alfredo Kojima
This has been fixed. The same problem was present for direct Export/Import access.
[15 Feb 2010 22:04] Johannes Taxacher
fixed in repository
[16 Feb 2010 14:14] Tony Bedford
An entry has been added to the 5.2.16 changelog:

When using the Server Administration link, or Manage Security link, on the Home screen, to log in to a remote server through an SSH connection, if the password dialog was closed, and cancellation of the SSH connection dialog acknowledged, then the following exception was generated:

Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an
exception.
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e)
...