Najsr / X-Plane-Voice-Control

Simple to use X-plane Voice Control
GNU General Public License v3.0
5 stars 2 forks source link

Landing lights on gives an error #4

Open VLPilot opened 6 years ago

VLPilot commented 6 years ago

Hello!

Here is error about the command:

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

** Exception Text ** System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at X_Plane_Voice_Control.Commands.LandingLights.OnTrigger(RecognitionResult rResult, String phrase) in C:\projects\x-plane-voice-control\X-Plane Voice Control\Commands\LandingLights.cs:line 38 at X_Plane_Voice_Control.MainForm.SpeechRecognize_SpeechRecognized(Object sender, SpeechRecognizedEventArgs e) in C:\projects\x-plane-voice-control\X-Plane Voice Control\MainForm.cs:line 95 at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs e)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

X-Plane Voice Control Assembly Version: 0.1.0.0 Win32 Version: 0.1.0.0 CodeBase: file:///C:/Users/xxxx/Desktop/V0.1/X-Plane%20Voice%20Control.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

ExtPlaneNet Assembly Version: 1.0.6748.24236 Win32 Version: 0.1.0.0 CodeBase: file:///C:/Users/xxxx/Desktop/V0.1/X-Plane%20Voice%20Control.exe

System.Speech Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3081.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

NHotkey.WindowsForms Assembly Version: 1.2.1.0 Win32 Version: 0.1.0.0 CodeBase: file:///C:/Users/xxxx/Desktop/V0.1/X-Plane%20Voice%20Control.exe

NHotkey Assembly Version: 1.2.1.0 Win32 Version: 0.1.0.0 CodeBase: file:///C:/Users/xxxx/Desktop/V0.1/X-Plane%20Voice%20Control.exe

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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:

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.

Najsr commented 6 years ago

Datarefs may have changed. I'll take a look at it tomorrow.