Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception: Close all?

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

    Unhandled Exception: Close all?

    Sometimes I get this unhandled exception dialog - usually do to some minor typo. It produces a million instances, can we get a way to close these without restarting the app? The main problem is that it's stuck on the top of the window
    Attached Files

    #2
    Hello Skifree,

    Thank you for your note.

    To clarify is this when coding your own custom indicator/add-on?
    Spencer F.NinjaTrader Customer Service

    Comment


      #3
      No, this is while working on derived class strategies. It does utilize indicators but just native VWMA and ParabolicSAR.

      The error is rather annoying and it doesn't crash the app

      Comment


        #4
        Hello Skifree,

        If your script is producing this error because of its logic you need to resolve that in the scripts code, there is no way to close all error windows those are mandatory for the user to be notified that the script is not working correctly. If this is something you made you need to debug and fix the code, if this is something you imported you will need to remove the item and then reach out to the developer for assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          I've resolved it, but from the user experience perspective, why not include close all functionality? It's not like I didn't see them.

          Comment


            #6
            This happened again tonight - I find it hard to believe the the intended user experience is to receive 200 of the same error popups with no real context

            Comment


              #7
              Helo Skifree,

              Scripts normally won't produce many messages like that unless you are using a try/catch in the code. Scripts should stop when hitting an error. If you are using try/catch statements a starting point would be to remove those so the script is stopped on the first error. You would still need to correct the code to avoid this from happening.
              JesseNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by AaronKoRn, Yesterday, 09:49 PM
              0 responses
              11 views
              0 likes
              Last Post AaronKoRn  
              Started by carnitron, Yesterday, 08:42 PM
              0 responses
              10 views
              0 likes
              Last Post carnitron  
              Started by strategist007, Yesterday, 07:51 PM
              0 responses
              11 views
              0 likes
              Last Post strategist007  
              Started by StockTrader88, 03-06-2021, 08:58 AM
              44 responses
              3,981 views
              3 likes
              Last Post jhudas88  
              Started by rbeckmann05, Yesterday, 06:48 PM
              0 responses
              9 views
              0 likes
              Last Post rbeckmann05  
              Working...
              X