Author Topic: Va giving error box when going to options  (Read 4989 times)

Wingblaze

  • Guest
Va giving error box when going to options
« on: January 23, 2017, 03:52:11 PM »
After I start voiceattack, if I hit the wrench to go to the options I get  "Unhandled exception has occurred in your application..." and options to quit or continue. The details shows the error below. If I continue, things seem ok.

Is this normal?



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at ..(Int32 )
   at ..(Boolean , String& , String& )
   at VoiceAttack.frmOptions.(Object , EventArgs )
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at ..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 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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VoiceAttack
    Assembly Version: 0.0.0.1
    Win32 Version: 1.6.1
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/VoiceAttack.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
{8ae1838b-be41-4102-8466-bcf369e6b3f1}
    Assembly Version: 0.0.0.0
    Win32 Version: 1.6.1
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/VoiceAttack.exe
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
bindEDplugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/Apps/HCSCustomerBinds/bindEDplugin.dll
----------------------------------------
EliteDangerousJournalReader
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/Apps/HCSJournalReader/EliteDangerousJournalReader.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.1.19813
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/Apps/HCSJournalReader/Newtonsoft.Json.dll
----------------------------------------
VAJS
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.2
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/VAJS.DLL
----------------------------------------
System.Dynamic
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/MSTaskBar.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1636.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2824
Re: Va giving error box when going to options
« Reply #1 on: January 23, 2017, 05:29:23 PM »
No... that's perfectly normal  o_O


Actually, no, that's not normal.  I see a lot of plugin-referenced dll's in there, so although the plugins *shouldn't* affect the options screen, could you try something for me?  When you launch VA, hold down CTRL + Shift and select the option to reset the settings which will disable plugins and see if that helps.

Wingblaze

  • Guest
Re: Va giving error box when going to options
« Reply #2 on: January 23, 2017, 08:00:22 PM »
I still get the error.

Not sure if it's relevant but:
1. I usually can't quit out of voiceattack and restart - the first start leaves a process running that prevents a new instance from starting unless I go into task manager and kill the process.
2. I am running it in admin mode, set from the shortcut compatibility settings (but my ID is admin anyway)
3. If I go through, disable the plug in support myself, quit, and restart and go to options, I still get the error.
« Last Edit: January 23, 2017, 08:04:48 PM by Wingblaze »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2824
Re: Va giving error box when going to options
« Reply #3 on: January 23, 2017, 08:23:12 PM »
I'm thinking something is borked up in your audio configuration.  What version of Windows are you using?  Also, was this working before?

I would start with doing a system scan:  https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files

In the meantime, I'll take a look to see if there's a place where handling can be done around that section... normally, that just works if all internal components are up to code.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2824
Re: Va giving error box when going to options
« Reply #4 on: January 23, 2017, 08:39:08 PM »
I put in some additional handling around the area that I *think* is affected.  Hoping it will at least allow you to get your options screen open until you get everything worked out.  I put a build out in the, 'unofficial' bin if you don't want to wait around until the next beta:

http://www.voiceattack.com/unofficial

Wingblaze

  • Guest
Re: Va giving error box when going to options
« Reply #5 on: January 24, 2017, 05:44:37 AM »
 First off, thank you for the fast response.

Second: this is a windows 10 64 bit system.

Third:  for all I know, the audio configuration might be confused. Everything seems to work largely normally for me. This is my first time with voice attack as I just bought it so I can't really say if it worked before. I can get to the option screen if I continue when the error box comes up.

I will try the diagnostics that you listed here when I get home this evening. Thanks again!

Wingblaze

  • Guest
Re: Va giving error box when going to options
« Reply #6 on: January 24, 2017, 02:00:26 PM »
The system scan tool revealed no issues.

The version you posted seems to work fine and I don't get the error dialog.

The process not terminating after exit still seems to happen but I haven't spent a lot of time looking at that part.

Thanks much!!

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2824
Re: Va giving error box when going to options
« Reply #7 on: January 24, 2017, 02:05:18 PM »
The process not terminating is due to the journal plugin that you are using.  There is a bug in it that is preventing VA from closing.  I'm working on a solution to keep plugins from doing that to begin with ;)