Topic: Bug - Exception when changing monitors
I get an exception when I open or close laptop, while generating a strategy, and swapping to between my external monitor. I click "continue" and it doesn't seem to have a negative effect.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Forex_Strategy_Builder.Backtester.IsPos(Int32 bar)
at Forex_Strategy_Builder.Small_Indicator_Chart.SetUpChart()
at Forex_Strategy_Builder.Small_Indicator_Chart.InitChart()
at Forex_Strategy_Builder.Small_Indicator_Chart.OnResize(EventArgs eventargs)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(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)