• 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 Ivantr, Yesterday, 05:24 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by ralett, Yesterday, 06:20 PM
      3 responses
      27 views
      0 likes
      Last Post ralett
      by ralett
       
      Started by trader252, Yesterday, 08:38 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by grizzlytrader, Yesterday, 06:24 AM
      1 response
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by andrewtrades, Yesterday, 01:43 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X