VoiceAttack v1.7.1 throws "System.NullReferenceException: Object reference not set to an instance of an object." on startup, if the following is present in user.config:
<setting name="GlobalHotkeyIndex" serializeAs="String">
<value>0</value>
</setting>
It is possible to click "Continue" to have VoiceAttack start up, after this occurs.
The same setting is fine in v1.7.0.15, which handles all values(even negative ones) relatively gracefully(values out of the normal range result in the hotkey getting disabled).
I didn't artificially insert this value into user.config initially, VoiceAttack crashed on the first startup after upgrading to v1.7.1
I tested with a near-blank config file(only license info), and as soon as "GlobalHotkeyIndex" is inserted and set to a value of zero of less(positive values outside of the normal range, E.G. "60000", are handled in the same manner as v1.7.0.15), VoiceAttack throws this exception on startup.
Extended exception information:
System.NullReferenceException: Object reference not set to an instance of an object.
at VoiceAttack.frmMain.(Boolean , Boolean )
at VoiceAttack.frmMain.()
at VoiceAttack.frmMain.()
at VoiceAttack.frmMain.()
at VoiceAttack.frmMain.(Object , EventArgs )
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at VoiceAttack.VABaseForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at VoiceAttack.frmMain.(Message& )
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)
EDIT: It's worse than that; If "Enable keyboard global hotkey" is unchecked, VoiceAttack throws that exception on clicking "OK" to save the setting(on the options window, not the key picker dialog).
If not changed, from that point onward VoiceAttack will throw the exception and essentially fail to start cleanly.
EDIT #2: Fixed in v1.7.2