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.

        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.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              79 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              45 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              29 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              32 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              66 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X