Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript Editor Bug

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

    NinjaScript Editor Bug

    If I have an Indicator open for editing and I press Alt+F4 to close it NinjaTrader crashes to desktop. It doesn't seem to crash if I am editing a Strategy though.
    Josh P.NinjaTrader Customer Service

    #2
    I can't reproduce this.

    - Can you reproduce each time?
    - A system indicator or custom indicator?
    - Can you reproduce with NO other windows open except the NinjaScript Editor?
    RayNinjaTrader Customer Service

    Comment


      #3
      Hmm yes I can readily reproduce this without fail on my laptop. It crashes for only custom indicators. I noticed this when the only window open was Control Center and the NinjaScript Editor. I tested this on my desktop with the same indicators, but they don't crash there. Odd.

      This is the error message "NinjaTrader application has encountered a problem and needs to close. We are sorry for the inconvenience." The logs don't mention anything though.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Although I usually don't use alt-F4 to close a script, I get the same error message.

        Whitmark
        whitmark
        NinjaTrader Ecosystem Vendor - Whitmark Development

        Comment


          #5
          I'm in touch with the provider of the editor component to see what's going wrong there. I'll keep you posted.

          Comment


            #6
            I get this one a lot too. This one happens sporadically as I try to compile my code.
            Attached Files
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              I would need a reproducible scenario on order to analyze:
              - step by step guidance to cause this
              - zipped NinjaScript directory <my documents>/bin/Custom

              Thanks

              Comment


                #8
                This is going to be another elusive bug. I don't know a step by step procedure to reproduce it. I know it happens when I compile my indicators/strategies after some editing. It seems to happen both when I have errors in my code and when my code is compilable. If I hit "continue" instead of "quit" it returns to the NinjaScript editor, but I need to close it and reopen the editor before I can compile my code. If I hit "Quit" my NinjaTrader shuts down.

                I'll send you my custom folder via email when I get home later.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Thanks. However, it likely will not help as the problem is not reproducible.

                  Do you have "Instant syntax check" checked?

                  Comment


                    #10
                    Originally posted by uacvax View Post
                    If I have an Indicator open for editing and I press Alt+F4 to close it NinjaTrader crashes to desktop. It doesn't seem to crash if I am editing a Strategy though.
                    This bug will be fixed with next release (available soon). Thanks for bringing this up.

                    Comment


                      #11
                      Not sure if this is a bug, but I found it a bit annoying.
                      Normally when you have a NinjaScript open and you close it either by Alt+F4 or clicking the X at the top it remembers the window size and the next time you open the script it uses the same size. If you minimize the NinjaScript and then proceed to close it by right clicking on it in the taskbar and then selecting close it does not remember the window size. The next time you open the file it opens in a tiny window that always requires you to resize before any work can be done.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        This is a bug which will be fixed with next release. Thanks for pointing this out.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by GussJ, 03-04-2020, 03:11 PM
                        11 responses
                        3,221 views
                        0 likes
                        Last Post xiinteractive  
                        Started by andrewtrades, Today, 04:57 PM
                        1 response
                        10 views
                        0 likes
                        Last Post NinjaTrader_Manfred  
                        Started by chbruno, Today, 04:10 PM
                        0 responses
                        6 views
                        0 likes
                        Last Post chbruno
                        by chbruno
                         
                        Started by josh18955, 03-25-2023, 11:16 AM
                        6 responses
                        436 views
                        0 likes
                        Last Post Delerium  
                        Started by FAQtrader, Today, 03:35 PM
                        0 responses
                        9 views
                        0 likes
                        Last Post FAQtrader  
                        Working...
                        X