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:	685
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:	633
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:	582
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.
          Access step-by-step NinjaTrader platform training for desktop, web, and mobile. Explore video tutorials and practical guides to help you confidently use trading tools and features.

          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:	621
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 CarlTrading, 03-31-2026, 09:41 PM
                  1 response
                  78 views
                  1 like
                  Last Post NinjaTrader_ChelseaB  
                  Started by CarlTrading, 04-01-2026, 02:41 AM
                  0 responses
                  40 views
                  0 likes
                  Last Post CarlTrading  
                  Started by CaptainJack, 03-31-2026, 11:44 PM
                  0 responses
                  63 views
                  2 likes
                  Last Post CaptainJack  
                  Started by CarlTrading, 03-30-2026, 11:51 AM
                  0 responses
                  63 views
                  0 likes
                  Last Post CarlTrading  
                  Started by CarlTrading, 03-30-2026, 11:48 AM
                  0 responses
                  54 views
                  0 likes
                  Last Post CarlTrading  
                  Working...
                  X