Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 - Walkforwards testing blowup

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

    NT8 - Walkforwards testing blowup

    NT8 - Walkforwards testing blowup

    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    System.NullReferenceException was unhandled
    Message: An unhandled exception of type 'System.NullReferenceException' occurred in NinjaTrader.Gui.dll
    Additional information: Object reference not set to an instance of an object.
    MicroTrends
    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

    #2
    Hello MicroTrends,

    Thank you for reporting this.

    We are investigating this on our end.

    Comment


      #3
      MicroTrends,

      We have been unable to reproduce the issue you outlined. Do you have a sample script or optimizer settings that would demonstrate this behavior so we may look into?
      MatthewNinjaTrader Product Management

      Comment


        #4
        Originally posted by NinjaTrader_Matthew View Post
        MicroTrends,

        We have been unable to reproduce the issue you outlined. Do you have a sample script or optimizer settings that would demonstrate this behavior so we may look into?
        i will try to replicate again this end etc
        MicroTrends
        NinjaTrader Ecosystem Vendor - micro-trends.co.uk

        Comment


          #5
          Originally posted by MicroTrends View Post
          i will try to replicate again this end etc
          Maybe its related to templates loading...

          World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


          World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.
          MicroTrends
          NinjaTrader Ecosystem Vendor - micro-trends.co.uk

          Comment


            #6
            015-05-09 12:57:26:278 ERROR: A hosted indicator tried to load additional data. All data must first loaded by the hosting NinjaScript in its configure state.
            2015-05-09 12:57:26:279 Gui.NinjaScript.StrategyRunner.RunStrategy: Exception 'Object reference not set to an instance of an object.' on strategy 'MicroTrends USAR Trader' for instrument '6A 06-15 Globex'. check you have historical data available
            2015-05-09 12:57:26:280 *************** unhandled exception trapped ***************
            2015-05-09 12:57:26:280 Object reference not set to an instance of an object.
            2015-05-09 12:57:26:287 System.NullReferenceException: Object reference not set to an instance of an object.
            at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyRunner.RunWalkForward(StrategyBase strategy, IProgress progress)
            at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyRunner.RunStrategy(StrategyBase strategy, IProgress progress)
            at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyRunner.<>c__DisplayClass5.<RunStrategyAsync>b__ 4(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()
            2015-05-09 12:57:26:288 ERROR: There are no email share services defined. You need to define one and set "Default" to true for email to work.
            MicroTrends
            NinjaTrader Ecosystem Vendor - micro-trends.co.uk

            Comment


              #7
              2015-05-08 19:35:21:204 Cbi.Instrument.RequestBars (to Provider): instrument='CL 06-15' from='05/08/2015 19:00:00' to='05/08/2015 23:59:59' period='1 Tick'
              2015-05-08 19:49:13:406 *************** unhandled exception trapped ***************
              2015-05-08 19:49:13:406 Object reference not set to an instance of an object.
              2015-05-08 19:49:13:461 System.NullReferenceException: Object reference not set to an instance of an object.
              at NinjaTrader.Gui.Chart.Chart.WindowProc(IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
              at System.Windows.Interop.HwndSource.PublicHooksFilte rMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
              at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
              at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
              at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
              at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
              MicroTrends
              NinjaTrader Ecosystem Vendor - micro-trends.co.uk

              Comment


                #8
                2015-05-08 20:30:42:975 (Kinetick Live - 415579) Cbi.Account.PositionUpdateCallback: instrument='CL 06-15' account='Sim101' avgPrice=59.42 quantity=2 marketPosition=Long operation=Update
                2015-05-08 20:30:54:330 *************** unhandled exception trapped ***************
                2015-05-08 20:30:54:330 Object reference not set to an instance of an object.
                2015-05-08 20:30:54:333 System.NullReferenceException: Object reference not set to an instance of an object.
                at NinjaTrader.Gui.Chart.ChartControl.StrategyEnable( StrategyRenderBase strategy, Window owner, ChartBars cb, Boolean isAdded)
                at NinjaTrader.Gui.Chart.ChartControl.ApplyStrategy(S trategyRenderBase originalStrategy, StrategyRenderBase strategy, ChartBars cb, Boolean isAdded)
                at NinjaTrader.Gui.Chart.ChartControl.HandleStrategie s(List`1 strategiesChanged, IEnumerable`1 strategyBases, List`1 strategiesToApply)
                at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss4c.<OnStrategiesHotKey>b__47()
                at NinjaTrader.Gui.Chart.ChartControl.OnStrategiesHot Key(Object sender, KeyEventArgs e)
                at NinjaTrader.Gui.HotKeys.HotKeysManager.TryChartHot Key(Object sender, KeyEventArgs e, IInputElement senderWindow, IInputElement ownerWindow)
                at NinjaTrader.Gui.HotKeys.HotKeysManager.OnPreviewKe yDown(Object sender, KeyEventArgs e)
                at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
                at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
                at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
                at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
                at System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args)
                at System.Windows.Input.InputManager.ProcessStagingAr ea()
                at System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport)
                at System.Windows.Interop.HwndKeyboardInputProvider.P rocessKeyAction(MSG& msg, Boolean& handled)
                at System.Windows.Interop.HwndSource.CriticalTranslat eAccelerator(MSG& msg, ModifierKeys modifiers)
                at System.Windows.Interop.HwndSource.OnPreprocessMess age(Object param)
                at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
                at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
                2
                MicroTrends
                NinjaTrader Ecosystem Vendor - micro-trends.co.uk

                Comment


                  #9
                  SAMPLE MA CROSSOVER
                  World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.



                  PRIOR
                  Maybe its related to templates loading...

                  World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                  World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                  also this:
                  2015-05-12 17:55:02:291 (Kinetick Live - 415579) Cbi.Account.OrderUpdateCallback: orderId='7fcf1e4d535a47f0b9dc129319059dd9' account='Sim101' name='Buy' orderState=Submitted instrument='GC 06-15' orderAction=Buy limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=0 averageFillPrice=0 error=NoError comment=''
                  2015-05-12 17:55:02:292 ERROR: Chart rendering failed. There is likely a problem with a chart object's OnRender method. D2D error = 'Upgradeable lock may not be acquired with read lock held.'
                  2015-05-12 17:55:02:393 (Kinetick Live - 415579) Cbi.Account.OrderUpdateCallback: orderId='7fcf1e4d535a47f0b9dc129319059dd9' account='Sim101' name='Buy' orderState=Accepted instrument='GC 06-15' orderAction=Buy limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=0 averageFillPrice=0 error=NoError comment=''
                  2015-05-12 17:55:02:393 (Kinetick Live - 415579) Cbi.Account.OrderUpdateCallback: orderId='7fcf1e4d535a47f0b9dc129319059dd9' account='Sim101' name='Buy' orderState=Working instrument='GC 06-15' orderAction=Buy limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=0 averageFillPrice=0 error=NoError comment=''
                  2015-05-12 17:55:02:423 (Kinetick Live - 415579) Cbi.Simulator.Fill1: thread='32' orderId='7fcf1e4d535a47f0b9dc129319059dd9' maxFillQuantity='0' price='1193.7'
                  2015-05-12 17:55:02:423 (Kinetick Live - 415579) Cbi.Simulator.Fill2: orderId='7fcf1e4d535a47f0b9dc129319059dd9' fillQuantity='1' price='1193.7'
                  2015-05-12 17:55:02:423 (Kinetick Live - 415579) Cbi.Account.OrderUpdateCallback: orderId='7fcf1e4d535a47f0b9dc129319059dd9' account='Sim101' name='Buy' orderState=Filled instrument='GC 06-15' orderAction=Buy limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=1 averageFillPrice=1193.7 error=NoError comment=''
                  2015-05-12 17:55:02:438 (Kinetick Live - 415579) Cbi.Account.ExecutionUpdateCallback: execution='7b3c96e435b147e3b4a5b4566084f876' exchange=Default price=1193.7 quantity=1 marketPosition=Long operation=Add orderID='7fcf1e4d535a47f0b9dc129319059dd9' time='5/12/2015 5:55:09 PM'
                  2015-05-12 17:55:02:438 (Kinetick Live - 415579) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=BuyingPower currency=UsDollar value=*****
                  2015-05-12 17:55:02:438 (Kinetick Live - 415579) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=CashValue currency=UsDollar value=*****
                  2015-05-12 17:55:02:439 (Kinetick Live - 415579) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=GrossRealizedProfitLoss currency=UsDollar value=*****
                  2015-05-12 17:55:02:439 (Kinetick Live - 415579) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=RealizedProfitLoss currency=UsDollar value=*****
                  2015-05-12 17:55:02:439 (Kinetick Live - 415579) Cbi.Account.PositionUpdateCallback: instrument='GC 06-15' account='Sim101' avgPrice=1193.7 quantity=1 marketPosition=Long operation=Add
                  2015-05-12 19:18:09:239 ---- DEBUG ASSERTION FAILED ----
                  ---- Assert Short Message ----

                  ---- Assert Long Message ----

                  at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyAnalyzerViewModel.DispatchToOwner(Action action)
                  at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyAnalyzerViewModel.OnRunCompleted(StrategyAnalyz erTabControl tab, LogSourceFileInfo nsLogSource, RunResult result)
                  at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyAnalyzerViewModel.<>c__DisplayClass3b.<OnRun>b_ _39(RunResult r)
                  at NinjaTrader.Gui.NinjaScript.StrategyAnalyzer.Strat egyRunner.<>c__DisplayClass5.<RunStrategyAsync>b__ 4(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()
                  Last edited by MicroTrends; 05-12-2015, 11:58 AM.
                  MicroTrends
                  NinjaTrader Ecosystem Vendor - micro-trends.co.uk

                  Comment


                    #10
                    Originally posted by NinjaTrader_Matthew View Post
                    MicroTrends,

                    We have been unable to reproduce the issue you outlined. Do you have a sample script or optimizer settings that would demonstrate this behavior so we may look into?

                    SAMPLE MA CROSSOVER
                    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.



                    PRIOR
                    Maybe its related to templates loading...

                    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                    Please see posts below for other exceptions - traced during testing
                    MicroTrends
                    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

                    Comment


                      #11
                      Hello,

                      Thank you for providing the information on this.

                      I was able to reproduce this in one situation so I have submitted this for further analysis.

                      I look forward to being of further assistance.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      670 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      379 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      111 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      575 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      582 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X