Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinajScript Editor / Mouse Wheel causes crashes

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

    NinajScript Editor / Mouse Wheel causes crashes

    This is an issue that haunts me for years, and causes a couple of crashes per week within NT 6.5.

    After editing an indicator, I would typically scroll down to look for the section of the code to check or modify.

    When trying to scroll down (directly after editing), NT sometimes locks up (not reproducible).

    This is the error log from the trace file:

    2010-01-30 16:35:21:578 in OnUnhandledThreadException
    2010-01-30 16:35:21:578 ********* exception trapped *********
    2010-01-30 16:35:21:578 Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.
    2010-01-30 16:35:21:578 bei System.Collections.Hashtable.HashtableEnumerator.M oveNext()
    bei d.a(IDomType[] A_0, String A_1, DomBindingFlags A_2)
    bei ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.Dot NetProjectResolver.GetMember(IDomType contextType, IDomType targetType, String name, DomBindingFlags flags)
    bei ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpC ontext.a(Document A_0, CompilationUnit A_1, DotNetProjectResolver A_2)
    bei ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpC ontext.GetContextAtOffset(Document document, Int32 offset, CompilationUnit compilationUnit, DotNetProjectResolver projectResolver)
    bei ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpS yntaxLanguage.GetContext(SyntaxEditor syntaxEditor, Int32 offset, Boolean beforeOffset, Boolean forParameterInfo)
    bei ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.Dot NetSyntaxLanguage.a(DotNetLanguage A_0, SyntaxEditor A_1, Int32& A_2)
    bei ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpS yntaxLanguage.OnSyntaxEditorViewMouseHover(SyntaxE ditor syntaxEditor, EditorViewMouseEventArgs e)
    bei ActiproSoftware.SyntaxEditor.SyntaxLanguage.a(Synt axEditor A_0, EditorViewMouseEventArgs A_1)
    bei ActiproSoftware.SyntaxEditor.SyntaxEditor.b(Editor ViewMouseEventArgs A_0)
    bei ActiproSoftware.SyntaxEditor.EditorView.OnMouseHov er(MouseEventArgs e)
    bei ActiproSoftware.WinUICore.UIElement.ActiproSoftwar e.WinUICore.IInputElement.RaiseMouseHoverEvent(Mou seEventArgs e)
    bei ActiproSoftware.WinUICore.UIControl.OnMouseHover(E ventArgs e)
    bei System.Windows.Forms.Control.WmMouseHover(Message& m)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
    bei ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc( Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Any ideas?

    #2
    Hmm .. the problem is we needed to have a reproducible scenario...

    Also: No NinjaTrader code involved, only windows and 3rd party editor code. There unlikely could be done something in NT to resolve the issue. Sorry... I'll send the vendor an issue report

    Comment


      #3
      Same procedure as last year....

      I just remember that I had already posted it last year, should have continued the same thread....

      Comment


        #4
        Do you have inline syntax checking turned on? Any difference when having it turned off?

        Comment


          #5
          Yes, it is usually turned on. But I am unable to reproduce. Happens one time in 50....

          Originally posted by NinjaTrader_Dierk View Post
          Do you have inline syntax checking turned on? Any difference when having it turned off?

          Comment


            #6
            You could try having it turned off in an attempt to isolate the culprit.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            108 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            55 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            37 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            39 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            75 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X