Bug #94145 Create new connection wirth MYSQL Workbench
Submitted: 30 Jan 2019 16:42 Modified: 30 Jan 2019 20:26
Reporter: Olivier RICHEZ Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:6.2.5.0 OS:Windows
Assigned to: CPU Architecture:Any

[30 Jan 2019 16:42] Olivier RICHEZ
Description:
Can not create new connection in MYSQL Workbench, having an error message "External component has thrown an exception." and log information following :

17:35:29 [ERR][      Workbench]: External component has thrown an exception.
Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at base.string_to_wstring(basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* )
   at MySQL.Forms.CustomMessageBox.ShowInternal(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* title, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text, Char* mainIcon, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* buttonOK, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* buttonCancel, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* buttonOther, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* checkbox, Boolean* checked)
   at MySQL.Forms.CustomMessageBox.Show(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* title, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text, Char* mainIcon, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* buttonOK, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* buttonCancel, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* buttonOther, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* checkbox, Boolean* checked)
   at MySQL.Forms.UtilitiesWrapper.show_error(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* title, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* ok, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* cancel, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* other)
   at MformsButton.OnClick(EventArgs args)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Create new connection in MYSQL Workbench
[30 Jan 2019 19:56] MySQL Verification Team
Thank you for the bug report. You are using a very older version, please upgrade for the current released version 8.0.14.
[30 Jan 2019 20:26] Olivier RICHEZ
Hello,
Thank you for reply.
Do you have newer portable version cause i can't install using msi installer.
Thank you
[3 Feb 2020 10:00] Valtteri Määttä
Hello,

Receiving the same issue when trying to test a new connection. Just upgraded to Workbench 8.0.19:

11:44:52 [ERR][      Workbench]: External component has thrown an exception.
Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at MformsButton.OnClick(EventArgs args)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)