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 andrewtrades, Today, 04:57 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      6 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      8 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X