I am experiencing again full NT6beta11 crashes while editing and complinga scipt. This time the exception is a System.NullReferenceException - see below for call stack copy.
After every crashI lose all my workspace settings and NT brings up the installer at restart. I have to set up all my charts again when I restart NT (but database seems to be intact). I wish there were a "Save Workspace as ..." menu item with the corresponding "Load Workspace ..." in the File menu or wherever. It would save a lot of time...
I had so far about 5-6 full crashes with the same error message today. Don't know what I am doing wrong...
TIA for help.
Peter
Copy of Exception text:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceGrid2.Selection.OnCellLostFocus(CellLostFocu sEventArgs e)
at SourceGrid2.Selection.Focus(Position pCellToSetFocus)
at SourceGrid2.Cells.Real.Cell.LeaveFocus()
at SourceGrid2.Grid.RemoveCell(Int32 row, Int32 col)
at SourceGrid2.Grid.m_Rows_RowsAdded(Object sender, IndexRangeEventArgs e)
at SourceGrid2.IndexRangeEventHandler.Invoke(Object sender, IndexRangeEventArgs e)
at SourceGrid2.RowInfo.RowInfoCollection.OnRowsAdded( IndexRangeEventArgs e)
at SourceGrid2.RowInfo.RowInfoCollection.InsertRange( Int32 p_StartIndex, Int32 p_Count)
at SourceGrid2.RowInfo.RowInfoCollection.Insert(Int32 p_Index)
at NinjaTrader.Gui.Grid.NTGrid.InsertRow(Int32 rowIndex)
at NinjaTrader.Gui.Grid.NTGrid.AppendRows(Int32 rows)
at NinjaTrader.Code.Editor.set_CompilerResults(Compil erResults value)
at NinjaTrader.Code.Editor.Compile()
at NinjaTrader.Code.Editor.OnToolbarClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(Event Args e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& ; m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& ; m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Comment