Bug #78460 Tried Opening Remote MYSQL connection
Submitted: 16 Sep 2015 21:50 Modified: 17 Sep 2015 7:25
Reporter: Troy Whitney Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.3.4 CE OS:Any
Assigned to: CPU Architecture:Any
Tags: 64 bit, crash, open, program, Remote Connection, Windows 10, workbench

[16 Sep 2015 21:50] Troy Whitney
Description:
I am trying to open a remote connection for some quick db editing and it crashes. I have updated the program as well as the required extrenal packages. I am running Windows 10 pro. I will post the stack track below.

-----------

Exception = System.TypeInitializationException
Message = The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception.
FullText = System.TypeInitializationException: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. ---> System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at HtmlRenderer.Utils.FontsUtils..cctor()
   --- End of inner exception stack trace ---
   at HtmlRenderer.Utils.FontsUtils.IsFontExists(String family)
   at HtmlRenderer.Parse.CssParser.ParseFontFamilyProperty(String propValue)
   at HtmlRenderer.Parse.CssParser.AddProperty(String propName, String propValue, Dictionary`2 properties)
   at HtmlRenderer.Parse.CssParser.ParseCssBlockProperties(String blockSource)
   at HtmlRenderer.Parse.CssParser.ParseCssBlockImp(String className, String blockSource)
   at HtmlRenderer.Parse.CssParser.FeedStyleBlock(CssData cssData, String block, String media)
   at HtmlRenderer.Parse.CssParser.ParseStyleBlocks(CssData cssData, String stylesheet)
   at HtmlRenderer.Parse.CssParser.ParseStyleSheet(CssData cssData, String stylesheet)
   at HtmlRenderer.Utils.CssUtils.get_DefaultCssData()
   at HtmlRenderer.HtmlContainer.SetHtml(String htmlSource, CssData baseCssData)
   at HtmlRenderer.HtmlPanel.set_Text(String value)
   at MySQL.Forms.ViewEventTarget.HandleMouseClick(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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Try to open remote db connection.

Suggested fix:
Not sure
[16 Sep 2015 22:07] Troy Whitney
I can't connect to my local server either. I was using connection settings that were created prior to a Workbench upgrade. I tried creating a new connection and that failed as well. This bug has made Workbench unusable on my computer no. This is a real big problem. 

Here is my dxdiag report in case it helps you hunt down this issue. See Files Tab
[17 Sep 2015 7:25] MySQL Verification Team
Hello Troy Whitney,

Thank you for the report.
This is duplicate of Bug #75344, please see Bug #75344

Thanks,
Umesh