Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

timer:object reference not set to an instance of an object

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

    timer:object reference not set to an instance of an object

    hello
    im getting this on my output but i disabled all strategies and i still get it... what could be the issue or how can I Figure it out?
    \
    Attached Files

    #2
    Hi babouin77, thanks for posting. All scripts will run the OnStateChanged method when you open up the Strategy menu, so its likely an null object being referenced in the OnStateChanged method of one of your scripts that is causing this.

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      is there a way to find out which one?

      Comment


        #4
        Hi babouin77, you can use Visual Studio debugging to make VS break at the line of code causing the issue. See here for a guide:



        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          I dont know which .cs file to load or which one is causing this issue. will this be able to let me know which one it is?

          Comment


            #6
            i restarted NT and now i dont see it anymore... so i guess it fixed itself

            Comment


              #7
              Hi babouin77, thanks for the follow up. Visual Studio will show you which indicator is causing this. If I can help with anything else please let me know.
              Chris L.NinjaTrader Customer Service

              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
              22 views
              0 likes
              Last Post helpwanted  
              Started by cre8able, Today, 07:24 PM
              0 responses
              10 views
              0 likes
              Last Post cre8able  
              Working...
              X