Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Issue with Sample WPF Modification

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

    Issue with Sample WPF Modification

    I get this message in my Output Tab when I load and unload the indicator

    Error during cleanup: Object reference not set to an instance of an object.
    Error restoring chart layout: Object reference not set to an instance of an object.
    Error during cleanup: Object reference not set to an instance of an object.
    State.Terminated: Restoring original content...
    Restore: Error restoring layout: Object reference not set to an instance of an object.​

    Its a new message and it doesn't come up in my control center log - never seen it before.

    #2
    Hello Mindset,

    I am not able to reproduce.

    You might have an older version.

    Ensure you are updated to 8.1.4.2 before continuing.


    Then re-download this directly from the Desktop SDK and re-import it, then restart NinjaTrader.
    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I have done all that and even repaired the new install - still get the message!

      Comment


        #4
        Hello Mindset,

        I don't think it is an issue with the script.

        Below is a link to a video of testing it.


        Try renaming the NinjaTrader 8 folder in documents and then run the repair again to create a clean installation environment.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Ok so I have done a clean install - no scripts and the error message disappeared . hallelujah.
          10 minutes in and I get this message
          04/04/25 11:40:45 Connection Simulated Data Feed: Error in opening connection Simulated Data Feed, exception caught: One or more errors occurred. (Panic)
          Tried reparing to no avail.
          ​Again, in 14 years never had this message either - is there some issue with the latest version of NT8?
          I feel like I am fighting with NinjaTrader Software at the moment.
          Edit - MyLive connection still works however, but I cannot download any historical data FYI
          I should also add my Automatic Range vs fixed range doesn't work either.
          Last edited by Mindset; 04-04-2025, 04:52 AM.

          Comment


            #6
            Scrub that - LIve feed and Kinetick endofday now reporting the same issue.

            Comment


              #7
              Hello Mindset,

              This would be an unexpected error from the simulated data feed.

              Please send an email to clientservices [at] ninjatrader.com so that one of our client services technicians can connect with you to resolve these connection errors.

              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              579 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              334 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X