Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT Error, needs to shutdown (beta 11)

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

    NT Error, needs to shutdown (beta 11)

    I get a dialog popping up saying that NT needs to shut down. It appears that it is not while I am performing a specific task, but rather as I move my mouse. It happens intermittently (2 to 3 times a day).

    As I side effect after the message, when I shutdown and reopen, my workspace does not have all the latest chartobjects in it anymore, and I have to spend a lot of time redrawing all my channels. Sometimes the workspace is okay, and sometimes not. I have tried saving my workspace before shutting down (but after the error message), but this does not help, the workspace is usually already damaged.

    please see attached trace file.
    Attached Files
    Last edited by astrolobe; 03-18-2010, 09:43 PM.

    #2
    Let's try to isolate. Please uninstall any 3rd part software like:
    >> 2010-03-18 17:42:26:101 Loading 3rd party C:\Users\Grant Crawford\Documents\NinjaTrader 7\bin\Custom\gcRiver.dll...


    If the problem persists, then it would be great to have a reproducible scenario so we could look into. Thanks

    Comment


      #3
      Hi Dierk,
      I have removed all third party software, and beta 12 continues to shutdown intermittently. I am unable to reproduce it on demand, but it is happening about four times a day.
      It appears to happen when I have more than one workspace open, and usually when working in the second workspace that I opened.

      I have attached the trace and log, but here is a small part of the error from the trace:
      2010-03-25 18:25:00:096 Chart.ChartControl.OnPaint: Parameter is not valid.
      2010-03-25 18:25:00:096 in OnUnhandledThreadException
      2010-03-25 18:25:00:096 ********* exception trapped *********
      2010-03-25 18:25:00:096 Object is currently in use elsewhere.
      2010-03-25 18:25:00:096 at System.Drawing.Graphics.GetHdc()
      Attached Files
      Last edited by astrolobe; 03-25-2010, 05:52 PM.

      Comment


        #4
        This does not look like you had uninstalled any 3rd part software:
        2010-03-25 17:19:34:649 Loading 3rd party C:\Users\Grant Crawford\Documents\NinjaTrader 7\bin\Custom\gcUtility.dll...

        Comment


          #5
          Sorry about that. I did remove it from the references inside the indicator, but I did not realize that I had to physically delete the dll out of bin/custom.
          I have done that now, so we will see if it helps.

          Comment


            #6
            3rd party components should be uninstalled by File->Utilities and not by manually removing them from the file system. This is to avoid inconsistencies.

            Comment


              #7
              I created a simple dll to hold a static class and some static properties, with a few common enums. Should I have implemented this using the NT export facility?
              I just added it to bin/common and referenced it in the indicators.

              Comment


                #8
                Sorry I'm confused:
                - below you stated you had removed gcUtility.dll as it's a 3rd party component
                - now you're saying this is your own dll

                Could you please clarify?

                Thanks

                Comment


                  #9
                  My misunderstanding...when you referred to 3rd party components, I understood it to mean any non NT assemblies, as you referred to my gcUtility.dll. Anyway, it no longer appears in the trace, as I physically removed it from the custom folder.

                  So far from the discussion, I am assuming I should have exported it via the NT utility, and then installed it using the zip file?? Is that correct, or am I way off the mark?

                  Comment


                    #10
                    The supported way to build assemblies is File->Utilities->Export.

                    Since gcUtility is your own assembly, and I suppose it's not a protected assembly, you could leave that in place.

                    Comment


                      #11
                      Okay, thank you.
                      BTW, this thread http://www.ninjatrader-support2.com/...ad.php?t=24631
                      looks like the same kind of problem I am experiencing.

                      Comment


                        #12
                        The link you provided points to a post and missing the thread context

                        Comment


                          #13
                          Try it again, I have edited my post.

                          Comment


                            #14
                            Thanks. The error message as per post #1 of this thread is a generic one which always would come up as something "unexpected" happened.

                            Comment


                              #15
                              Yes, but in post #3, cristian mentioned that all he was doing is clicking the mouse, and trying to drag the chart to see more. I know this is very vague, but my error also appears when I move the mouse (obviously not everytime I move the mouse).

                              I will let you know if I can narrow it down.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by CarlTrading, 03-31-2026, 09:41 PM
                              1 response
                              81 views
                              1 like
                              Last Post NinjaTrader_ChelseaB  
                              Started by CarlTrading, 04-01-2026, 02:41 AM
                              0 responses
                              42 views
                              0 likes
                              Last Post CarlTrading  
                              Started by CaptainJack, 03-31-2026, 11:44 PM
                              0 responses
                              64 views
                              2 likes
                              Last Post CaptainJack  
                              Started by CarlTrading, 03-30-2026, 11:51 AM
                              0 responses
                              66 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