Bug #75344 | MySQL Workbench Unexpected Error | ||
---|---|---|---|
Submitted: | 31 Dec 2014 4:05 | Modified: | 21 Sep 2015 17:57 |
Reporter: | 張 思成 | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 6.2 CE | OS: | Windows (Windows 8.1 Pro) |
Assigned to: | Marcin Marek | CPU Architecture: | Any |
[31 Dec 2014 4:05]
張 思成
[29 Jan 2015 13:13]
MySQL Verification Team
http://bugs.mysql.com/bug.php?id=75673 marked as duplicate of this one.
[16 Mar 2015 22:54]
MySQL Verification Team
Please try version 6.2.5 or 6.3.2 rc. Thanks.
[17 Mar 2015 12:00]
張 思成
The bug still exists in version 6.2.5
[17 Mar 2015 12:04]
張 思成
Also not fixed in 6.3.2rc
[18 Mar 2015 8:28]
Mike Lischke
I cannot reproduce this problem whatsoever. I tested on Win + Mac. Can you attach your log file as a private comment to this bug report? I think this may have to do with corrupt fonts. We have seen similar errors before because a font's "regular" style could not be found, which turned out to be that for some unknown reaons that font got corrupted. After replacing it with one from another machine everything turned ok. Maybe you can try to find out for which font the error message is issued and try to repair that.
[18 Mar 2015 8:29]
Mike Lischke
Btw, it should not matter if you single or double click a connection tile. The tiles are like links. A single click is enough to open them.
[18 Mar 2015 8:41]
張 思成
Thanks for the response. Here's the error log file: 16:39:28 [INF][ SqlEditor]: Opened connection 'Local instance MySQL56' to MySQL Community Server (GPL) version 5.6.21-log 16:39:29 [ERR][ Workbench]: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. 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.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.HtmlContainer.SetHtml(String htmlSource, CssData baseCssData) at HtmlRenderer.HtmlPanel.set_Text(String value) at MySQL.Forms.HyperTextWrapper.set_markup_text(HyperText* backend, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text) at MySQL.Forms.ViewEventTarget.HandleMouseClick(Object sender, 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)
[19 Mar 2015 17:22]
leon Zhang
I encounter the same issue on Windows 7 Enterprise, SP1+ Workbench 6.2.5.0 64 bits. Is there any workaround solution so far?
[19 Mar 2015 17:28]
leon Zhang
12:17:52 [INF][ Workbench]: UI is up 12:17:52 [INF][ Workbench]: Running the application 12:17:56 [INF][ SSH tunnel]: Starting tunnel 12:17:56 [INF][ SSH tunnel]: Existing SSH tunnel not found, opening new one 12:17:59 [INF][ SSH tunnel]: TunnelManager.wait_connection returned OK 12:17:59 [INF][sshtunnel.py:set_keepalive:471]: SSH KeepAlive setting skipped. 12:17:59 [INF][ SSH tunnel]: SSH tunnel connect executed OK 12:18:07 [ERR][ Workbench]: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. 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.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.HtmlContainer.SetHtml(String htmlSource, CssData baseCssData) at HtmlRenderer.HtmlPanel.set_Text(String value) at MySQL.Forms.HyperTextWrapper.set_markup_text(HyperText* backend, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text) at mforms.Menu.handle_action(Menu* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* ) at MformsMenuStrip.ItemClick(Object sender, EventArgs args) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[26 Mar 2015 4:57]
Daniel Miller
Same issue here on Windows 8.1 Enterprise. See next comment for my log file.
[26 Mar 2015 4:57]
Daniel Miller
00:47:06 [INF][ WBContext]: System info: MySQL Workbench Community (GPL) for Windows version 6.2.4 revision 12437 build 2426 (64 bit) Configuration Directory: <--snip--> Data Directory: C:\Program Files\MySQL\MySQL Workbench 6.2 CE Cairo Version: 1.10.2 OS: Microsoft Windows 8.1 Enterprise CPU: 8x Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz, 15.8 GiB RAM Active video adapter NVIDIA Quadro 2000M Installed video RAM: -2048 MB Current video mode: NULL Used bit depth: NULL Driver version: 9.18.13.4052 Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um Current user language: English (United States) 00:47:06 [DB1][ grt]: MySQL Generic Runtime Environment 4.1.0 00:47:06 [DB1][ grt]: Type '?' for help. 00:47:06 [DB1][ grt]: Python Shell initialized. (Use Preferences -> General to set language) 00:47:06 [DB1][ grt]: Ready. 00:47:06 [DB1][ grt]: 00:47:06 [INF][ WQE backend]: Found auto-save workspace C:\Users\Daniel\AppData\Roaming\MySQL\Workbench\sql_workspaces\<--snip-->.autosave 00:47:07 [INF][ Workbench]: UI is up 00:47:07 [DB2][WBContext managed]: Activating appview avid2 00:47:07 [DB1][ WBContext]: Saved connection list (MySQL: 9) 00:47:07 [DB1][ WBContext]: Calling SQLIDEUtils.initialize0()... 00:47:07 [DB1][ WBContext]: Calling WbAdmin.initialize()... 00:47:07 [INF][ Workbench]: Running the application 00:47:19 [DB1][ mforms managed]: Adding new timeout 00:47:19 [DB1][ mforms managed]: Creating new TimerHandler 00:47:19 [DB2][ grt]: wb.tools.checkForUpdates finished in 0.06s 00:47:20 [DB1][ mforms managed]: Showing a message to the user 00:47:20 [DB1][ mforms managed]: Hiding the wait message 00:47:20 [DB2][ mforms managed]: Wait message was not visibile, nothing to do 00:47:20 [DB1][ mforms managed]: About to show a custom message box 00:47:20 [DB1][ mforms managed]: Creating and showing custom message box 00:47:20 [DB1][ mforms managed]: Running custom message box 00:47:21 [DB1][ mforms managed]: Custom message box closed 00:47:21 [DB1][ mforms managed]: Destructing TimerHandler instance 00:47:32 [INF][ SSH tunnel]: Starting tunnel 00:47:32 [DB2][ python context]: About to pyrun 'C:\Program Files\MySQL\MySQL Workbench 6.2 CE\sshtunnel.py' 00:47:32 [DB1][ mforms managed]: Looking up password for service: Mysql@<--snip-->:3306, account: root 00:47:32 [DB1][ mforms managed]: Loading password cache 00:47:32 [DB1][ mforms managed]: Get special folder 00:47:32 [DB2][ mforms managed]: Decrypting password data 00:47:32 [DB2][ mforms managed]: Filling password cache 00:47:32 [DB1][ mforms managed]: Unloading password cache 00:47:32 [DB1][ mforms backend]: Looking up password for 'root'@'Mysql@<--snip-->:3306' has failed 00:47:32 [DB1][ GRTDispatcher]: starting worker thread 00:47:32 [DB1][ GRTDispatcher]: worker thread running 00:47:37 [ERR][ GRTDispatcher]: exception in grt execute_task, continuing: Exception: Access denied for user 'root'@'<--snip-->' (using password: NO) 00:47:37 [ERR][ GRTDispatcher]: worker: task '' has failed with error:.Access denied for user 'root'@'<--snip-->' (using password: NO) 00:47:37 [DB2][ mforms managed]: Running cancel_slot on main thread 00:47:37 [DB1][ mforms managed]: Looking up password for service: Mysql@<--snip-->:3306, account: root 00:47:37 [DB1][ mforms managed]: Loading password cache 00:47:37 [DB1][ mforms managed]: Get special folder 00:47:37 [DB2][ mforms managed]: Decrypting password data 00:47:37 [DB2][ mforms managed]: Filling password cache 00:47:38 [DB1][ mforms managed]: Unloading password cache 00:47:38 [DB1][ mforms backend]: Looking up password for 'root'@'Mysql@<--snip-->:3306' has failed 00:47:38 [DB1][ mforms managed]: Running slot on main thread (waiting for it) 00:47:38 [DB2][ mforms managed]: Cross thread invocation required 00:47:38 [DB2][ mforms managed]: Running cancel_slot on main thread 00:47:38 [DB1][ mforms backend]: Forgetting password for 'root'@'Mysql@<--snip-->:3306' 00:47:38 [DB1][ mforms managed]: Loading password cache 00:47:38 [DB1][ mforms managed]: Get special folder 00:47:38 [DB2][ mforms managed]: Decrypting password data 00:47:38 [DB2][ mforms managed]: Filling password cache 00:47:38 [DB1][ mforms managed]: Unloading password cache 00:47:38 [DB1][ mforms backend]: Creating and showing password dialog 00:47:38 [DB1][ mforms managed]: Hiding the wait message 00:47:38 [DB2][ mforms managed]: Wait message was visible, finishing it 00:47:38 [DB2][ mforms managed]: Returning main form 00:47:42 [DB2][ mforms managed]: HUD window returned with code: 3 00:47:42 [DB1][ mforms managed]: Running a cancelable wait message 00:47:42 [DB2][ mforms managed]: Running the HUD window 00:47:47 [DB1][ SqlEditor]: Notifying server state change of Mysql@<--snip-->:3306 to running 00:47:52 [INF][ SqlEditor]: Opened connection 'BountyLocal' to Source distribution version 5.1.67-log 00:47:52 [DB1][ mforms managed]: Explicit cancelation of the wait message 00:47:52 [DB2][ mforms managed]: HUD window returned with code: 3 00:47:52 [DB2][ mforms managed]: Returning main form 00:47:52 [DB1][ mforms managed]: Get special folder 00:47:52 [ERR][ Workbench]: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. 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.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.HtmlContainer.SetHtml(String htmlSource, CssData baseCssData) at HtmlRenderer.HtmlPanel.set_Text(String value) at MySQL.Forms.HyperTextWrapper.set_markup_text(HyperText* backend, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text) at MySQL.Forms.ViewEventTarget.HandleMouseClick(Object sender, 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)
[4 Apr 2015 14:17]
Luca Moser
Same issue on Windows 10 Build 10049 64bit. After clicking the connection tile, the same error pops up. Log: 16:16:43 [DB1][ mforms managed]: Looking up password for service: Mysql@localhost:3306, account: root 16:16:43 [DB1][ mforms managed]: Loading password cache 16:16:43 [DB1][ mforms managed]: Get special folder 16:16:43 [DB2][ mforms managed]: Decrypting password data 16:16:43 [DB2][ mforms managed]: Filling password cache 16:16:43 [DB1][ mforms managed]: Unloading password cache 16:16:43 [DB1][ mforms backend]: Looking up password for 'root'@'Mysql@localhost:3306' has succeeded 16:16:44 [INF][ SSH tunnel]: Starting tunnel 16:16:44 [DB2][ python context]: About to pyrun 'C:\Program Files\MySQL\MySQL Workbench 6.2 CE\sshtunnel.py' 16:16:44 [DB1][ mforms managed]: Looking up password for service: Mysql@localhost:3306, account: root 16:16:44 [DB1][ mforms managed]: Loading password cache 16:16:44 [DB1][ mforms managed]: Get special folder 16:16:44 [DB2][ mforms managed]: Decrypting password data 16:16:44 [DB2][ mforms managed]: Filling password cache 16:16:44 [DB1][ mforms managed]: Unloading password cache 16:16:44 [DB1][ mforms backend]: Looking up password for 'root'@'Mysql@localhost:3306' has succeeded 16:16:44 [DB1][ GRTDispatcher]: starting worker thread 16:16:44 [DB1][ GRTDispatcher]: worker thread running 16:16:44 [DB1][ SqlEditor]: Notifying server state change of Mysql@localhost:3306 to running 16:16:44 [INF][ SqlEditor]: Opened connection 'Local instance MySQL56' to MySQL Community Server (GPL) version 5.6.23-log 16:16:44 [DB1][ mforms managed]: Explicit cancelation of the wait message 16:16:45 [DB2][ mforms managed]: HUD window returned with code: 3 16:16:45 [DB2][ mforms managed]: Returning main form 16:16:45 [DB1][ mforms managed]: Get special folder 16:16:45 [ERR][ Workbench]: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. 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.PopupControl.OnMouseUp(MouseEventArgs args) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[12 Apr 2015 4:06]
David Riviera
I realize I'm on Windows 10 and that is test software, but it needs to work someday, so here's what I found. Trying to connect to the database or pressing Ctrl-U creates this error. Windows 10 Enterprise Technical Preview Evaluation Copy. Build 10049. This just worked. What changed? 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.DomParser.CascadeStyles(CssBox box, HtmlContainer htmlContainer, CssData& cssData, Boolean& cssDataChanged) at HtmlRenderer.Parse.DomParser.CascadeStyles(CssBox box, HtmlContainer htmlContainer, CssData& cssData, Boolean& cssDataChanged) at HtmlRenderer.Parse.DomParser.CascadeStyles(CssBox box, HtmlContainer htmlContainer, CssData& cssData, Boolean& cssDataChanged) at HtmlRenderer.Parse.DomParser.GenerateCssTree(String html, HtmlContainer htmlContainer, CssData& cssData) at HtmlRenderer.HtmlContainer.SetHtml(String htmlSource, CssData baseCssData) at HtmlRenderer.HtmlPanel.set_Text(String value) at mforms.MenuItem.callback(MenuItem* ) at MenuItemEventTarget.MenuItemClick(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData) at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut) at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData) at System.Windows.Forms.Control.PreProcessMessage(Message& msg) at System.Windows.Forms.WebBrowserBase.PreProcessMessage(Message& msg) at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg) at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
[27 Apr 2015 22:08]
Franc van de Westelaken
Same issue here. Can't connect to any MySQL server. It crashes when setting up the connection.Version 6.3.3.0 CE.
[27 Apr 2015 22:10]
Franc van de Westelaken
Log: 00:04:33 [ERR][ Workbench]: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. 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.PopupControl.OnMouseUp(MouseEventArgs args) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[21 Jun 2015 20:03]
Frank Quintero
Here it is! Recompiled with the fix!
Attachment: HtmlRenderer.dll (application/x-msdownload, text), 237.00 KiB.
[1 Jul 2015 12:58]
Luka Pribanić
I can confirm that a fixed "HtmlRenderer.dll" posted by Frank Quinteroon 21 Jun 2015 used with MySQL Workbench v.6.3.4.0 (build 828) is the first GA version after 6.0.9 that works for me on Windows 10. Thank you Frank! Hope this gets pushed to official v6.3.5 or whatever is the next GA / public build. Tested with: Windows 10 Pro, Insider Preview, build 10159 (latest as of today) Previous non-working Workbench builds that I've tested include at least: - 6.1.7 - 6.2.5 - 6.3.3 - 6.3.4 - (and any interim builds I may have got my hands on at least since end of March 2015, though I did not take a note of all versions) These include both 32bit and 64bit versions, and install and non-install ZIP versions. I've also tested this bug with literally all public Windows 10 builds in the same timeframe. Again, thank you for the fix, and hope that next GA I download has this fix build in :)
[9 Jul 2015 20:41]
timothy sandberg
I'll second Luka Pribanić. I tried Frank Quintero's dll update. Availed me of the bug.
[30 Jul 2015 6:36]
MySQL Verification Team
Bug #77880 marked as duplicate of this
[30 Jul 2015 23:15]
bruno g c t novais
Same issue here in 6.3.4.0 (828) 64bit Dll from frank is working fine.. please put that fix in master branch.
[1 Aug 2015 17:09]
Osama Khodrog
Dll from frank is working fine.. thank you very much frank
[1 Aug 2015 18:41]
Sean Montgomery
Frank's recompiled DLL has resolved the problem for me. Thanks, Frank!
[3 Aug 2015 17:26]
David Brown
I think Mike's early comment about a buggy (or at least misunderstood) font is correct. I received this error immediately after upgrading from Windows 8.1 to Windows 10. I copied all my fonts out of the Fonts folder for safe-keeping, then deleted whatever fonts Windows would let me delete. MySQL workbench is now working just fine. A more helpful error message would be great, particularly if it could identify the troublesome font.
[3 Aug 2015 17:29]
David Brown
(Oops; sorry I didn't perceive that a fix is in the works in my previous comment; that will be much preferable to removing fonts! Thank you.)
[3 Aug 2015 20:10]
Raphael Titsworth-Morin
I was also having this problem. MySQL Workbench 6.3.4.0 Community Windows 10 Pro Works fine after replacing HtmlRenderer.dll with Frank's version.
[4 Aug 2015 13:42]
Jorge Oyhenard
I can confirm that's Frank Quintero dll works fine. Windows 10 Pro 64bits final, and Workbenck 6.3.4 64 bits [21 Jun 20:03] Frank Quintero Here it is! Recompiled with the fix! Attachment: HtmlRenderer.dll (application/x-msdownload, text), 237.00 KiB.
[5 Aug 2015 14:48]
Jack Basford
I was also experiencing this issue on Windows 10 and using the dll posted by Frank fixed it. Thank you so much Frank, this was an urgent matter for me!
[11 Aug 2015 7:58]
Kjell Eikland
Just upgraded to Win10 and the same error occurred on the first attempt to open MySql WB (latest version 6.3.4 64bit). Affects both local and remote DBs and renders the program unfunctional.
[11 Aug 2015 8:11]
Kjell Eikland
Fixed for me also! Found and installed Frank's new dll.
[12 Aug 2015 1:31]
Chris Theodore
I am getting an error when trying to run on Windows 10 - Frank has a 'fix' but I do not know where to place the 'HtmlRenderer.dll' - any help on this?
[12 Aug 2015 6:00]
Luka Pribanić
@Chris - put the HtmlRenderer.dll to the same folder where your executable is (MySQLWorkbench.exe). File already exists there, so just overwrite it. Location of your executable depends on the location of installation, but if you have a shortcut in your Start menu or on Desktop, you can right click it, properties, and look at the "Target" field for a full path. Also, simply clicking "Open File Location" will open the File Explorer for you, so once it opens just paste the fixed HtmlRenderer.dll there. Hope it helps!
[14 Aug 2015 22:54]
Bruce Albrecht
New HtmlRenderer.dll file works for me on 32 bit MySQL Workbench 6.3 CE running on Windows 10 x64
[17 Aug 2015 6:10]
MySQL Verification Team
Bug #78094 marked as duplicate of this
[17 Aug 2015 10:28]
Marcin Marek
Thank you for the bug report.
[18 Aug 2015 5:54]
MySQL Verification Team
Bug #78118 marked as duplicate of this
[18 Aug 2015 11:28]
MySQL Verification Team
Bug #78122 marked as duplicate of this
[19 Aug 2015 21:23]
Joe Arcuch
Version 6.3.3 CE crashes when opening SQL editor in Windows 10.
[22 Aug 2015 0:15]
William Schütze
I'm using MySQL Workbench 6.3.4.0 build 828 (64 bits) on Windows 10 (also 64 bits) and I get the same error, just trying to connect to my local server...
[23 Aug 2015 10:05]
MySQL Verification Team
Bug #78174 marked as duplicate of this
[24 Aug 2015 10:56]
Robin Bailey
Had this problem after upgrading from Win 7 to Win 10. The new HTMLRender.dll fixed it. Many, many thanks.
[28 Aug 2015 19:28]
Sean Molloy
The new DLL also fixed this for me - same situation, update to win 10 broke it
[29 Aug 2015 8:21]
MySQL Verification Team
Bug #78266 marked as duplicate of this
[30 Aug 2015 14:01]
ROBERT G PARIS
HZTMLRenderer.dll fixed the problem for me. #78266
[31 Aug 2015 9:07]
MySQL Verification Team
Bug #78284 marked as duplicate of this
[1 Sep 2015 14:59]
Arnold Bernabe
HtmlRenderer.dll from Frank Quintero also fixed it for me (Windows 10). Thanks!
[8 Sep 2015 5:11]
MySQL Verification Team
Bug #78354 marked as duplicate of this
[17 Sep 2015 7:25]
MySQL Verification Team
Bug #78460 marked as duplicate of this
[18 Sep 2015 23:19]
Troy Whitney
HtmlRenderer.dll from Frank Quintero also fixed it for me (Windows 10). Thanks!
[21 Sep 2015 17:57]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Workbench 6.3.5 release, and here's the changelog entry: On Windows 10, MySQL Workbench failed with an error similar to "The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception". The HtmlRenderer.dll DLL was updated with a fix. Thank you for the bug report.
[29 Sep 2015 4:09]
MySQL Verification Team
Bug #78613 marked as duplicate of this
[3 Oct 2015 18:45]
Sainey Drammeh
Thank you, Frank Quintero. Your fix worked for me too.
[6 Oct 2015 16:33]
Johns Does
Fixed. As of 2015-10-06 the recommendation of Frank Quintero's 'HtmlRenderer.dll' resolved my issue with Windows 10 Enterprise 64x Build 10240 on a HP Pavilion p6531p-b (AMD Athalon II X4 635 2.90 Ghz Processor, 6 Gigs of RAM). Hopefully this can be fixed in future releases of the software instead of manually piecing things together after each and every install. =)
[8 Oct 2015 4:48]
MySQL Verification Team
Bug #78745 marked as duplicate of this
[8 Oct 2015 4:49]
MySQL Verification Team
Bug #78747 marked as duplicate of this
[9 Oct 2015 4:00]
MySQL Verification Team
Bug #78770 marked as duplicate of this
[12 Oct 2015 8:39]
MySQL Verification Team
Bug #78800 marked as duplicate of this
[14 Oct 2015 17:37]
MySQL Verification Team
Bug #78820 marked as duplicate of this
[14 Oct 2015 18:30]
MySQL Verification Team
Bug #78833 marked as duplicate of this
[19 Oct 2015 4:26]
MySQL Verification Team
Bug #78870 marked as duplicate of this
[19 Oct 2015 4:47]
MySQL Verification Team
Bug #78871 marked as duplicate of this
[19 Oct 2015 12:22]
win web
Thanks Frank.
[20 Oct 2015 4:44]
MySQL Verification Team
Bug #78878 marked as duplicate of this
[1 Nov 2015 10:33]
MySQL Verification Team
Bug #79056 marked as duplicate of this
[16 Nov 2015 16:28]
Kyle Burleigh
Franks .dll fixed my problem.
[13 Dec 2015 13:13]
MySQL Verification Team
Bug #79615 marked as duplicate of this
[26 Oct 2020 15:41]
dikshant chaudhary
fix it
[1 Oct 2022 11:22]
Pramodya Sumanasekara
Fixed.. Thank you Frank..