Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Crash saving strat analyzer results

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

    Crash saving strat analyzer results

    Unfortunately I can't give an exact series of steps to reproduce this, but in general it's:

    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.

    #2
    We added more code to cover this issue. Please let us know in case this happens again after next NT6.5 update. Thanks for reporting.

    Comment


      #3
      Issues around saving of strategy results appear to be completely resolved with the latest beta -- I've been doing a lot of this and have not seen any problems.

      Comment


        #4
        Thanks for feedback. Appreciated.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        600 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        346 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
        558 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