-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Steps to reproduce the bug:
Error details:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
at Microsoft.FlightSimulator.SimConnect.SimConnect.RegisterStruct[RECV,T](Enum dwID)
at SimFlightPath.Model.SimConnectHelper.Connect() in SimFlightPath\Model\SimConnectHelper.cs:line 201
at SimFlightPath.Model.SimConnectHelper.StartDataPull() in SimFlightPath\Model\SimConnectHelper.cs:line 231
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at SimFlightPath.Model.SimConnectHelper.ConnectionTimer_Tick(Object sender, EventArgs e) in SimFlightPath\Model\SimConnectHelper.cs:line 209
at System.Threading.Tasks.Task.<>c.b__140_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)