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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X