Bug #71413 MySql Workbench 6.0.8 crashes on startup - Object reference not set to an instan
Submitted: 17 Jan 2014 18:19 Modified: 10 Mar 2014 12:22
Reporter: Srinivas Yelamanchili Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.0.8 OS:Windows (Windows 7 64bit)
Assigned to: CPU Architecture:Any

[17 Jan 2014 18:19] Srinivas Yelamanchili
Description:
Hi, I downloaded and installed mysql-workbench-community-6.0.8-win32.msi for the first time on Windows 7 64bit machine. I don't have any prior version of Workbench. At the end of installation or when I try to open Workbench from Start menu or from command line, I get a dialog box that the program has crashed.

I renamed this folder multiple times but issue remains
C:\Users\sri\AppData\Roaming\MySQL\Workbench

13:07:40 [INF][      WBContext]: Parsing application arguments.
13:07:40 [INF][      WBContext]:     C:\Program Files (x86)\MySQL\MySQL Workbench 6.0 CE\MySQLWorkbench.exe
13:07:40 [INF][      WBContext]:     -log-level=debug3
13:07:40 [INF][      WBContext]: Logger set to level 'debug3'
13:07:40 [INF][      Workbench]: Starting up Workbench
13:07:40 [INF][      Workbench]: Current environment:
	Command line: MySQLWorkbench.exe  -log-level=debug3
	CurrentDirectory: C:\Program Files (x86)\MySQL\MySQL Workbench 6.0 CE
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
	SystemDirectory: C:\Windows\system32
	TickCount: 80729550
	UserInteractive: True
	Version: 4.0.30319.276
	WorkingSet: 30552064
13:07:40 [INF][      Workbench]: Environment variables:
	ProgramData = C:\ProgramData
	COMPUTERNAME = xxxxxx
	M2 = C:\apache-maven-3.1.1\bin
	USERDNSDOMAIN = xxx.yyy.ORG
	DEFLOGDIR = C:\ProgramData\McAfee\DesktopProtection
	NWLANGUAGE = ENGLISH
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS;.MSC
	TMP = C:\Users\sri\AppData\Local\Temp
	TEMP = C:\Users\sri\AppData\Local\Temp
	LOCALAPPDATA = C:\Users\sri\AppData\Local
	PUBLIC = C:\Users\Public
	M2_HOME = C:\apache-maven-3.1.1
	DataConnectorLibPath = C:\Program Files (x86)\Teradata\Client\13.10\bin\;C:\Program Files\Teradata\Client\13.10\bin\
	WINDIR = C:\windows
	JAVA_HOME = C:\Program Files\Java\jdk1.7.0_45
	USERDOMAIN = xxx
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	NUMBER_OF_PROCESSORS = 8
	LOCALHARVESTHOME = C:\Program Files (x86)\CA\SCM
	ETPKIHOME = C:\PROGRA~2\CA\SC\etpki
	PROMPT = $P$G
	COPLIB = C:\Program Files (x86)\Teradata\Client\13.10\CLIv2\;C:\Program Files\Teradata\Client\13.10\CLIv2\
	CA_SCM_HOME = C:\Program Files (x86)\CA\SCM
	ProgramFiles(x86) = C:\Program Files (x86)
	CommonProgramFiles = C:\Program Files (x86)\Common Files
	HOMEPATH = \Users\sri
	ProgramW6432 = C:\Program Files
	ProgramFiles = C:\Program Files (x86)
	FP_NO_HOST_CHECK = NO
	MAVEN_OPTS = -Xms256m -Xmx512m
	SystemRoot = C:\Windows
	SESSIONNAME = Console
	WINDOWS_LOGIN = 0
	CommonProgramW6432 = C:\Program Files\Common Files
	LOGONSERVER = \\Nabcd
	USERPROFILE = C:\Users\sri
	MSTR_CLASSPATH = C:\Program Files (x86)\Common Files\MicroStrategy
	APPDATA = C:\Users\sri\AppData\Roaming
	HOMEDRIVE = C:
	CA_SCM_LOCALHOME = C:\Program Files (x86)\CA\SCM
	USERNAME = sri
	OS = Windows_NT
	ComSpec = C:\Windows\system32\cmd.exe
	SystemDrive = C:
	HARVESTHOME = C:\Program Files (x86)\CA\SCM
	ALLUSERSPROFILE = C:\ProgramData
13:07:40 [INF][      Workbench]: Current version given by meta info is: 6.0.8
13:07:40 [DB1][      Workbench]: Creating single instance setup
13:07:40 [DB2][      Workbench]: Trying to open existing event wait handle
13:07:40 [DB2][      Workbench]: This is the first application instance
13:07:40 [DB2][      Workbench]: Registering IPC channel and instance proxy
13:07:40 [INF][      Workbench]: This is the first start of a new version. Doing some clean up.
13:07:40 [ERR][      Workbench]: Object reference not set to an instance of an object.
Exception = System.NullReferenceException
Message = Object reference not set to an instance of an object.
FullText = System.NullReferenceException: Object reference not set to an instance of an object.
   at MySQL.GUI.Workbench.Program.Main(String[] Args)
13:07:45 [ERR][      Workbench]: Object reference not set to an instance of an object.
Exception = System.NullReferenceException
Message = Object reference not set to an instance of an object.
FullText = System.NullReferenceException: Object reference not set to an instance of an object.
   at MySQL.GUI.Workbench.ExceptionDialog.reportBugButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks,
-sri
	

How to repeat:
Install workbench 6.0.8 on Windows 7 64bit and open from Start menu or command line
[28 Jan 2014 3:20] Srinivas Yelamanchili
I also tried the noinstall(zip) versions 5.2.47 and 6.1.1 (beta) noinstall (zip),
and on running MySQLWorkbench.exe they all crash with windows event:

Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at MySQL.GUI.Workbench.Program.Main(System.String[])
[10 Feb 2014 12:22] MySQL Verification Team
Please try version 6.0.9. Thanks.
[11 Mar 2014 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".