Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exception thrown by the target of an invocation

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

    Exception thrown by the target of an invocation

    Click image for larger version

Name:	ssssss.png
Views:	676
Size:	417.3 KB
ID:	1191661

    Can I get some help on this error?
    I dont know I have a target or from what invocation? Thanks!

    #2
    Click image for larger version

Name:	ssssss.png
Views:	622
Size:	10.4 KB
ID:	1191663
    Maybe it could be because I've also been getting this?
    I've been commenting out everything, trying to narrow it down....

    Comment


      #3
      Click image for larger version

Name:	ssssss.png
Views:	577
Size:	45.5 KB
ID:	1191668
      Ok, this makes me think that its specifically something wrong with my OnOrderUpdate method.
      I cant see the rest of the log message, it cuts off and I dont know how to extract the rest of it.

      At this time, this is all thats in my OnOrderUpdate method:
      Code:
      private void OnOrderUpdate(object sender, OrderEventArgs e)
      {
      Print("OrderUpdated");
      }

      Comment


        #4
        I'm running CCleaner.
        I understand a thread stopped working.
        So I emailed my log and trace files so you all can find out why it stopped. thanks

        Comment


          #5
          Hello ezrollin,

          I recommend that you run the NinjaTrader installer, and then see if the error can be reproduced. CC cleaner may be removing important system files. Running the repair should replace these if necessary.

          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            I didnt delete my old install. I just backed it up in case. Installing did fix the EXCEPTION error message! But then I got a duplicate indicator error on 2 indicators.
            I fixed that even though I didnt notice any dupes, I guess they were there though.

            I dont have my indicator running at all but I'm getting this Output over and over:
            Click image for larger version

Name:	ssssss.png
Views:	612
Size:	24.3 KB
ID:	1191730
            I dont know why. I completely commented out my OnAccountItemUpdate stuff, recompilled and reloaded and even removed the indicator.
            Why is this coming through? thanks

            Comment


              #7
              It only happens when theres an open position

              Comment


                #8
                Now it has finally stopped. IDK why.

                Comment


                  #9
                  Hello ezrollin,

                  Check all addons, indicators, and strategies for a print with that text. Somewhere you have a file that has that print.
                  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