On mono in latest Nightly build an exception is thrown on evaluation of new regions.
Steps to reproduce:
-
Type A:1*'m and hit enter
-
In a point in the canvas type A=
-
SMath crashes (worksheet red crossed and error message)
The related stack trace below. Possibly related to
this behavior noticed randomly by some users on windows (not yet reproduced).
===========
System.NullReferenceException: Object reference not set to an instance of an object
at SMath.Controls.InteractiveWorksheet.UpdateSelectionBounds (RegionSelectionStatus status, Boolean inProgress) <0x4111e990 + 0x000fa> in <filename unknown>:0
at SMath.Controls.InteractiveWorksheet.Sheet_WorksheetStatusChanged (SMath.Controls.Worksheet sender, SMath.Controls.WorksheetStatus status) <0x4111e930 + 0x00043> in <filename unknown>:0
at (wrapper delegate-invoke) <Module>:invoke_void_Worksheet_WorksheetStatus (SMath.Controls.Worksheet,SMath.Controls.WorksheetStatus)
at SMath.Controls.Worksheet.PageStatusManager (Boolean forced) <0x410d1140 + 0x00183> in <filename unknown>:0
at SMath.UI.FormsWorksheet.UpdateScrollBars () <0x4111a660 + 0x00213> in <filename unknown>:0
at SMath.Controls.Worksheet.RefreshUI () <0x41119f50 + 0x00037> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1+PageRendering[T].UpdateContext (Size contentSize, Int32 currentIndex, Boolean isExport) <0x41119670 + 0x00610> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1[T].MoveNext (Boolean isExport) <0x41114ac0 + 0x0069f> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1[T].MoveNext () <0x41114aa0 + 0x0000f> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1+PageRendering[T].LayoutDrawingList (IGraphics g, IDocument`1 doc, SMath.Manager.PageMargins margins, RectangleF e) <0x41113c30 + 0x006ef> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1+PageRendering[T].Reset () <0x41112f70 + 0x003d3> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1[T].Reset () <0x41112df0 + 0x000cb> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1[T].InitMainContent (IObjectsManager`1 manager) <0x41112c80 + 0x00063> in <filename unknown>:0
at SMath.Controls.PagesEnumerator`1[T]..ctor (IDocument`1 doc, IGraphics graphics) <0x41112030 + 0x000eb> in <filename unknown>:0
at SMath.Controls.DocumentScaler`1[T].Draw (SMath.Manager.PaintEventOptions e) <0x41110ac0 + 0x00523> in <filename unknown>:0
at SMath.Controls.DocumentScaler`1[T].Paint (IGraphics g, RectangleF bounds) <0x4110eeb0 + 0x00a5b> in <filename unknown>:0
at SMath.UI.DesktopWorksheet.OnPaint (System.Windows.Forms.PaintEventArgs e) <0x4110ec30 + 0x001d7> in <filename unknown>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) <0x40e8a6f0 + 0x00157> in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) <0x40e21090 + 0x001f7> in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) <0x40e21060 + 0x00024> in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) <0x40e21020 + 0x0003a> in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x40e1f0c0 + 0x00324> in <filename unknown>:0