Bug #70474 Unable to start Workbench 6.0.7
Submitted: 1 Oct 2013 8:18 Modified: 2 Oct 2013 20:46
Reporter: Brett Brewer Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.0.7 OS:Windows (Win 7 Pro x64)
Assigned to: CPU Architecture:Any
Tags: External component has thrown and exception

[1 Oct 2013 8:18] Brett Brewer
Description:
I am unable to start MYSQL Workbench 6.0.7.

I received an error when trying to save a simple one line query (unfortunately I cannot remember the error), and as I was unable to save the query I closed Workbench and reopened it.

After exiting and trying to restart I got an error "External component has thrown and exception" with the description "We are sorry for the inconvenience but an unexpected exception has been raised by one of the MySQL Workbench modules. In order to fix this issue we would kindly ask you to file a bug report. You can do that by pressing the [Report Bug] button below."

The log file displays -

16:15:40 [ERR][      Workbench]: Console redirection failed.
16:15:40 [INF][      WBContext]: Parsing application arguments.
16:15:40 [INF][      WBContext]:     C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7\MySQLWorkbench.exe
16:15:40 [INF][      Workbench]: Starting up Workbench
16:15:40 [INF][      Workbench]: Current environment:
	Command line: "C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7\MySQLWorkbench.exe" 
	CurrentDirectory: C:\windows\Installer\MSIE0AC.tmp-
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.1.7600.0
	SystemDirectory: C:\windows\system32
	TickCount: 22497933
	UserInteractive: True
	Version: 4.0.30319.296
	WorkingSet: 29728768
16:15:40 [INF][      Workbench]: Environment variables:
	Path = C:\PROGRA~2\Fiery\APPLIC~1\COMMON~1\EFI;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Fuji Xerox\SolutionBuilder\Lib\OmniPage;C:\PROGRA~2\COMMON~1\EFI;C:\PROGRA~2\COMMON~1\EFI;C:\PROGRA~2\COMMON~1\EFI\EFIES-~1
	TEMP = C:\Users\bbrewer\AppData\Local\Temp
	USERDNSDOMAIN = BBS.LOCAL
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
	USERDOMAIN = BBS
	asl.log = Destination=file
	ProgramW6432 = C:\Program Files
	APPDATA = C:\Users\bbrewer\AppData\Roaming
	windir = C:\windows
	LOCALAPPDATA = C:\Users\bbrewer\AppData\Local
	CommonProgramW6432 = C:\Program Files\Common Files
	TMP = C:\Users\bbrewer\AppData\Local\Temp
	USERPROFILE = C:\Users\bbrewer
	ProgramFiles = C:\Program Files (x86)
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	FP_NO_HOST_CHECK = NO
	HOMEPATH = \
	COMPUTERNAME = BBSBBREWER
	HOMESHARE = \\BBSDC01\Users\bbrewer
	PROCESSOR_ARCHITEW6432 = AMD64
	ProgramData = C:\ProgramData
	NUMBER_OF_PROCESSORS = 4
	PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
	ComSpec = C:\windows\system32\cmd.exe
	VBOX_INSTALL_PATH = C:\Program Files\Oracle\VirtualBox\
	SystemRoot = C:\windows
	PROCESSOR_ARCHITECTURE = x86
	LOGONSERVER = \\BBSDC03
	ProgramFiles(x86) = C:\Program Files (x86)
	SystemDrive = C:
	CommonProgramFiles = C:\Program Files (x86)\Common Files
	PROCESSOR_LEVEL = 6
	PROCESSOR_REVISION = 2502
	PSModulePath = C:\windows\system32\WindowsPowerShell\v1.0\Modules\
	ALLUSERSPROFILE = C:\ProgramData
	NAMAZURC = C:\namazu\etc\namazu\namazurc
	PUBLIC = C:\Users\Public
	USERNAME = bbrewer
	OS = Windows_NT
	HOMEDRIVE = H:
16:15:40 [INF][      Workbench]: Current version given by meta info is: 6.0.7
16:15:40 [INF][      Workbench]: Setting PATH to: C:\windows\system32;C:\PROGRA~2\Fiery\APPLIC~1\COMMON~1\EFI;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Fuji Xerox\SolutionBuilder\Lib\OmniPage;C:\PROGRA~2\COMMON~1\EFI;C:\PROGRA~2\COMMON~1\EFI;C:\PROGRA~2\COMMON~1\EFI\EFIES-~1
16:15:40 [INF][ mforms managed]: Initializing mforms wrapper
16:15:42 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7
	plugin path: C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7
	struct path: 
	module path: C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7/modules
	library path: C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7
	user data dir: C:\Users\bbrewer\AppData\Roaming\MySQL\Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
16:15:42 [INF][      WBContext]: WbContext::init
16:15:46 [INF][            grt]: Scanning module directory C:\Users\bbrewer\AppData\Roaming\MySQL\Workbench\modules.	
16:15:46 [INF][            grt]: Scanning module directory ..	
16:15:46 [INF][            grt]: Scanning module directory C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7/modules.	
16:15:46 [INF][               ]: Initialized Lua module C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7/modules\catalog_utils.grt.lua (WbUtils)
16:15:57 [INF][            WBA]: Looking for extension modules for WBA...
16:15:57 [INF][            WBA]: 0 extension modules found
16:15:59 [INF][            grt]: Scanning module directory C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7.	
16:16:00 [WRN][            grt]: C:\Users\bbrewer\AppData\Roaming\MySQL\Workbench\connections.xml:25: link '{AB91F684-81E8-4B1F-B15D-5E06C4109340}' <object GrtObject> key=owner could not be resolved
16:16:01 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Windows version 6.0.7  revision 11215
	Configuration Directory: C:\Users\bbrewer\AppData\Roaming\MySQL\Workbench
	Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.7
	Cairo Version: 1.8.8
	OS: Microsoft Windows 7  (build 7600), 64-bit
	CPU: 4x Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz, 3.9 GiB RAM
	Active video adapter NVIDIA GeForce GT 420M              
	Installed video RAM: 1024 MB
	Current video mode: 1366 x 768 x 4294967296 colors
	Used bit depth: 32
	Driver version: 8.17.12.8590
	Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
	Current user language: English (Australia)

16:16:01 [INF][      Workbench]: UI is up
16:16:01 [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 wb.WBContextUI.init_finish(WBContextUI* , WBOptions* )
   at MySQL.Workbench.WbContext.finished_loading(WbOptions options)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

I tried a full uninstall and then tried reinstalling the Community Edition from the file mysql-installer-web-community-5.6.14.0.msi. During the check online for updates I got an error message advising could not connect to the remote server because of a proxy authentication error. I skipped the check then as I knew it was the latest version only to have it fail at the download section.

I went online and downloaded the full installer ~200 MB and installed the software and after it installed (Online check failed again) I tried to start Workbench and get the same error.

I can use the MYSQL 5.6 Command Line Client and connect to the database and run queries.

Any ideas?

How to repeat:
Launch Workbench from the Start Menu

Suggested fix:
Don't know.
[1 Oct 2013 14:16] MySQL Verification Team
Please check if workaround mentioned in http://bugs.mysql.com/bug.php?id=70262 (see workaround renaming the folder) applies to your case. Thanks.
[2 Oct 2013 1:58] Brett Brewer
Thankyou. This worked. It might be helpful for future versions of Workbench to have an option when uninstalling to remove the folder.
[2 Oct 2013 20:46] MySQL Verification Team
Thank you for the feedback.
[17 May 2016 10:02] qian wang
error message

Attachment: error.PNG (image/png, text), 36.72 KiB.

[17 May 2016 10:02] qian wang
error message

Attachment: error.PNG (image/png, text), 36.72 KiB.