Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

corrupted strategy after crash - "object reference not set.."

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

    corrupted strategy after crash - "object reference not set.."

    hi
    at certain point I was compiling the strategy and it crashed the NINJATRADER.
    after the restart, I can run the strategy in a chart alright but I can NOT load it in the Strategy Analyser. it just doesn't allow to choose it. Any other strategy I can.
    the error in the log is :
    "Failed to load selected strategy :.... object reference not set to an instance of the object"

    tried to create a new one and delete the bad one. copied the code. it compiles alright. but doesn't let it to be used in the Strategy Analyser.
    The code looks ok.

    What are my options ? how to find whats the problem? Visual studio can help ? not an expert but can try.


    #2
    Do you use Visual Studio with your NinjaTrader 8? What version. Have you cleared the workspace in Ninjatrader 8 and recompile code to see result.

    Comment


      #3
      Hi dadarara, thanks for your note.

      Would you mind sending me your strategy so I can test? If so please Export it and send it to "platformsupport at ninjatrader.com" and reference "ATTN ChrisL 2387563" in the body of the email.

      Export instructions:


      You can also try opening the strategy in a new workspace, does this resolve the issue?

      I look forward to hearing from you.

      Comment


        #4
        Yes indeed
        did all that.
        I have reinstalled everything.
        not helping

        have the 2019 version

        Comment


          #5
          Hi dadarara, thanks for your reply.

          Reinstalling will not touch any of the files within Documents\NinjaTrader 8. There must be some script in here that is causing the issue. If you do not know where the problem is coming from at all, you can create a new NinjaTrader 8 folder in the Documents by following these steps:
          • If possible, copy your license key from the Control Center > Help > License Key.
          • Close all running applications.
          • Navigate to your Documents folder > Right click on the 'NinjaTrader 8' folder > Rename > rename the folder to 'NinjaTrader 8 OLD'. DO NOT delete this folder.
          • Uninstall NinjaTrader within Windows Control Panel.
          • Navigate to C:\ > Program File (x86) > Delete the 'NinjaTrader 8' folder if it exists
          • Reboot your PC.
          • Once these steps are completed, download and install NT8 from the link below.

          Please let us know if we may be of further assistance.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          86 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          48 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          29 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          67 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X