• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy analyzer 8.0.2.0 crash

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

    strategy analyzer 8.0.2.0 crash

    Hi,

    Strategy analyzer 8.0.1.0 just worked fine for me, 8.0.2.0 (64 bit) crashes. Steps to reproduce crash:

    1) strategy analyzer / backtest type standard / sample MA crossover strategy -> o.k.

    2) strategy analyzer / backtest type optimiziation / sample MA crossover strategy / optimize data series -> o.k.

    3) repeat step 1: Crash


    Windows error message:
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: NinjaTrader.exe
    Problem Signature 02: 8.0.2.0
    Problem Signature 03: 58419fb9
    Problem Signature 04: NinjaTrader.Gui
    Problem Signature 05: 8.0.2.0
    Problem Signature 06: 58419fb9
    Problem Signature 07: 6728
    Problem Signature 08: f6
    Problem Signature 09: System.NullReferenceException

    NT8 error message:
    2016-12-09 10:04:54:851 *************** unhandled exception trapped ***************
    2016-12-09 10:04:54:851 Object reference not set to an instance of an object.
    2016-12-09 10:04:54:852 System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyRunner.<>c__DisplayClass12_0.<RunBacktest4Detai ls>b__0(Object o)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()


    To 'solve' the problem i changed the strategy name. After compiling the strategy, the 'type standard' (step 1) worked again. Changed back the strategy name to its original, compiled it, and it worked too. Repeating steps 1 to 3 and it crashed again.

    #2
    Thanks for those steps enable, I could hit it that scenario and will have our QA team take a closer look.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      It's crashing for me too in 8.0.2.0. Worked fine previously. I'm back testing a custom strategy, and I even tried removing all of my code from OnBarUpdate(). There is still some custom code in OnStateChange(), but I stopped troubleshooting after I saw this thread.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sdauteuil, Today, 12:16 PM
      0 responses
      4 views
      0 likes
      Last Post sdauteuil  
      Started by asmmbillah, Today, 12:06 PM
      0 responses
      5 views
      0 likes
      Last Post asmmbillah  
      Started by EminiTrader, Today, 11:05 AM
      0 responses
      9 views
      0 likes
      Last Post EminiTrader  
      Started by mtamaku, Today, 10:34 AM
      0 responses
      8 views
      0 likes
      Last Post mtamaku
      by mtamaku
       
      Started by pnamphi, Yesterday, 04:29 AM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Working...
      X