Bug #78906 The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception
Submitted: 21 Oct 2015 18:49 Modified: 21 Oct 2015 21:01
Reporter: Andy Klabacka Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.6 OS:Windows
Assigned to: CPU Architecture:Any
Tags: HtmlRenderer.Utils.FontsUtils

[21 Oct 2015 18:49] Andy Klabacka
Description:
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 wb.WBContextUI.init_finish(WBContextUI* , WBOptions* )
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
Open workbench
[21 Oct 2015 19:31] MySQL Verification Team
Thank you for the report.
This is duplicate of Bug #75344, please see Bug #75344
[21 Oct 2015 20:07] Andy Klabacka
I can't find the duplicated Bug of #75344.
[21 Oct 2015 21:01] Andy Klabacka
Searched the forum and tried "Franks" solution and it worked. Thanks