Nevertheless, giving it to you, so you can hand it to a programmer to see if they can diagnose the issue by inspection. There's a null reference in there, but the disassembled code has the source stripped, so I'm not entirely sure of what I'm looking at.
Cheers
P.S. for some inscrutable reason, the forum software is introducing spaces in odd places in the call stack below. When I fix them, and then repost, it just adds them back.
. . .
mscorlib.dll!System.ThrowHelper.ThrowInvalidOperat ionException(System.ExceptionResource resource) Line 60 C#
mscorlib.dll!System.Collections.Generic.List<Syste m.__Canon>.Enumerator.MoveNextRare() Line 219 C#
System.Core.dll!System.Linq.Enumerable.FirstOrDefa ult<NinjaTrader.Cbi.Position>(System.Collections.G eneric.IEnumerable<NinjaTrader.Cbi.Position> source, System.Func<NinjaTrader.Cbi.Position, bool> predicate) Line 2662 C#
NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.ChartTra der.GetChartTraderPosition() Line 824 C#
NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.Direct2D Form.RecalculateYAxisLabels(NinjaTrader.Gui.Chart. ScaleJustification scaleJustification, SharpDX.Direct2D1.RenderTarget renderTarget) Line 343 C#
> NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.Direct2D Form.RenderInit() Line 394 C#
NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.Direct2D Form.RenderToTarget(SharpDX.Direct2D1.RenderTarget renderTarget) Line 399 C#
NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.Direct2D Form.OnPaint(System.Windows.Forms.PaintEventArgs e) Line 327 C#
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.PaintWithErrorHandling(System.Windows.Forms.Pa intEventArgs e, short layer) Line 12404 C#
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WmPaint(ref System.Windows.Forms.Message m) Line 15232 C#
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref System.Windows.Forms.Message m) Line 15526 C#
System.Windows.Forms.dll!System.Windows.Forms.Form .WndProc(ref System.Windows.Forms.Message m) Line 6566 C#
System.Windows.Forms.dll!System.Windows.Forms.Nati veWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) Line 649 C#
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Update() Line 14323 C#
NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.ChartTra der.RefreshChart(NinjaTrader.Cbi.OrderEventArgs e) Line 652 C#
NinjaTrader.Gui.dll!NinjaTrader.Gui.Chart.ChartTra der.OnOrderUpdate.AnonymousMethod__0() C#
WindowsBase.dll!System.Windows.Threading.Exception Wrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Line 59 C#
WindowsBase.dll!System.Windows.Threading.Exception Wrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Line 24 C#
WindowsBase.dll!System.Windows.Threading.Dispatche rOperation.InvokeImpl() Line 440 C#
mscorlib.dll!System.Threading.ExecutionContext.Run Internal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 515 C#
mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 486 C#
mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 479 C#
WindowsBase.dll!MS.Internal.CulturePreservingExecu tionContext.Run(MS.Internal.CulturePreservingExecu tionContext executionContext, System.Threading.ContextCallback callback, object state) Line 85 C#
WindowsBase.dll!System.Windows.Threading.Dispatche rOperation.Invoke() Line 362 C#
WindowsBase.dll!System.Windows.Threading.Dispatche r.ProcessQueue() Line 1293 C#
WindowsBase.dll!System.Windows.Threading.Dispatche r.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Line 1420 C#
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(Syste m.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Line 221 C#
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCa llbackOperation(object o) Line 253 C#
WindowsBase.dll!System.Windows.Threading.Exception Wrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Line 73 C#
WindowsBase.dll!System.Windows.Threading.Exception Wrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Line 24 C#
WindowsBase.dll!System.Windows.Threading.Dispatche r.LegacyInvokeImpl(System.Windows.Threading.Dispat cherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Line 1021 C#
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndP roc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Line 207 C#
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!System.Windows.Threading.Dispatche r.PushFrameImpl(System.Windows.Threading.Dispatche rFrame frame) Line 1329 C#
NinjaTrader.Core.dll!NinjaTrader.Core.Globals.get_ RandomDispatcher.AnonymousMethod__0() C#
mscorlib.dll!System.Threading.ExecutionContext.Run Internal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 515 C#
mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 486 C#
mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 479 C#
mscorlib.dll!System.Threading.ThreadHelper.ThreadS tart() Line 65 C#
Comment