2. Save the results
3. Remove strategy X
4. Attempt to delete the results
leads to a crash:
....
2008-01-31 06:42:43:248 ERROR: Unable to restore strategy 'NinjaTrader.Strategy.X' with ID 'ed1065457bbc41a69952b842b93b9fef'. Most likely this strategy no longer is supported by the custom assemblies.
2008-01-31 06:42:43:263 ERROR: Unable to restore strategy 'NinjaTrader.Strategy.X' with ID 'f53dcd5d1f904bef9bf0091857fa01a2'. Most likely this strategy no longer is supported by the custom assemblies.
2008-01-31 06:42:43:404 ERROR: Unable to restore strategy 'NinjaTrader.Strategy.X' with ID '9d8eb5c0bfb74f74999c6b5e0dbc1f0b'. Most likely this strategy no longer is supported by the custom assemblies.
2008-01-31 06:42:43:638 in OnUnhandledThreadException
2008-01-31 06:42:43:873 ********* exception trapped *********
2008-01-31 06:42:43:873 Mapping: IObjectHelper is missing Strategies_ : NinjaTrader.Strategy.StrategyData
2008-01-31 06:42:43:873 at Wilson.ORMapper.Internals.Instance.SetField(Entity Map entityMap, Object entityObject, String member, Object value, CustomProvider provider)
at Wilson.ORMapper.Internals.Instance.SetObject(IData Record data)
at Wilson.ORMapper.ObjectReader.Read()
at Wilson.ORMapper.Internals.Context.GetObjectSet(Obj ectReader reader)
at Wilson.ORMapper.Internals.Context.GetObjectSet(Obj ectQuery objectQuery, Boolean firstLevel)
at Wilson.ORMapper.ObjectSpace.GetObjectSet(ObjectQue ry objectQuery)
at NinjaTrader.Strategy.SaveStrategyForm.DeleteNow(St ring name, Boolean backTestOnly)
at NinjaTrader.Strategy.SaveStrategyForm.Delete(Strin g name)
at NinjaTrader.Strategy.SaveStrategyForm.OnDelete(Obj ect 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)
Beta 8.

Comment