Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Remove strategy, then delete saved results: crash

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Remove strategy, then delete saved results: crash

    1. Run an optimization for strategy X
    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.
    Last edited by Pete S; 01-31-2008, 06:00 AM. Reason: Forgot to mention version

    #2
    Thanks for reporting. We'll look into.

    Comment


      #3
      Hmm .. I tested on 6.5.0.8 and performed step (3) on SA as well as on the Edit strategies dialog box: strategy and saved results associated are removed no problem.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      602 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      559 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X