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 pechtri, 06-22-2023, 02:31 AM
      9 responses
      122 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by frankthearm, 04-18-2024, 09:08 AM
      16 responses
      66 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by habeebft, Today, 01:18 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by benmarkal, Today, 12:52 PM
      2 responses
      14 views
      0 likes
      Last Post benmarkal  
      Started by f.saeidi, Today, 01:38 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X