Exception when running script
Posted: Sun Aug 21, 2016 6:09 pm
I am trying to create a voice control script for Star Citizen but it always crashes when i say a certain phrase. other phrases work fine.
This exception shows up in the log file...
Any ideas?
8/21/2016 8:01:12 PM - System.Reflection.TargetInvocationException - Exception has been thrown by the target of an invocation.:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Speech.Internal.AsyncSerializedWorker.WorkerProc(Object ignored)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
System.Collections.Generic.KeyNotFoundException - The given key was not present in the dictionary.:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at FreePIE.Core.Plugins.SpeechPlugin.<EnsureRecognizer>b__0(Object s, SpeechRecognizedEventArgs e)
at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs e)
This exception shows up in the log file...
Any ideas?
8/21/2016 8:01:12 PM - System.Reflection.TargetInvocationException - Exception has been thrown by the target of an invocation.:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Speech.Internal.AsyncSerializedWorker.WorkerProc(Object ignored)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
System.Collections.Generic.KeyNotFoundException - The given key was not present in the dictionary.:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at FreePIE.Core.Plugins.SpeechPlugin.<EnsureRecognizer>b__0(Object s, SpeechRecognizedEventArgs e)
at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs e)