1. Create an instrument list with 10 stocks
2. Run a backtest on the list itself, using around 3 months worth of 5 minute data
3. Save the results
Every couple of times, you will get a crash with this stack trace in the trace file:
2007-12-14 14:23:09:879 in OnUnhandledThreadException
2007-12-14 14:23:09:910 ********* exception trapped *********
2007-12-14 14:23:09:910 at Wilson.ORMapper.Internals.Context.get_Item(Object entityObject)
at Wilson.ORMapper.Internals.Instance.PersistChildren (Transaction transaction, PersistDepth persistDepth, Boolean parentDeleted)
at Wilson.ORMapper.Internals.Instance.PersistChanges( Transaction transaction, PersistDepth persistDepth, Boolean parentDeleted)
at Wilson.ORMapper.Transaction.PersistChanges(ICollec tion entityObjects, PersistDepth persistDepth)
at Wilson.ORMapper.ObjectSpace.PersistChanges(ICollec tion entityObjects, PersistDepth persistDepth)
at Wilson.ORMapper.ObjectSpace.PersistChanges(Object entityObject, PersistDepth persistDepth)
at NinjaTrader.Strategy.SaveStrategyForm.OnOK(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
I had reported a crash on this flow earlier; it seems to occur less frequently now and the stack trace is different.

Comment