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 geddyisodin, Yesterday, 05:20 AM
            7 responses
            45 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by gbourque, Today, 06:39 AM
            2 responses
            5 views
            0 likes
            Last Post gbourque  
            Started by cre8able, Yesterday, 07:24 PM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by cocoescala, 10-12-2018, 11:02 PM
            6 responses
            939 views
            0 likes
            Last Post Jquiroz1975  
            Started by cmtjoancolmenero, Yesterday, 03:58 PM
            1 response
            17 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X