Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exceptions into NinjaScript Editor.

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

    Exceptions into NinjaScript Editor.

    Hello.

    I am getting exceptions often into NinjaScript Editor which causes NT is shut down.

    I attach the related portion of the trace.

    Thanks.

    Code:
    2016-01-21 17:06:32:934 *************** unhandled exception trapped ***************
    2016-01-21 17:06:32:935 Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    2016-01-21 17:06:32:940 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
       at MS.Internal.TextFormatting.TextMetrics.FullTextLine.DrawTextLine(DrawingContext drawingContext, Point origin, MatrixTransform antiInversion)
       at MS.Internal.TextFormatting.TextMetrics.FullTextLine.Draw(DrawingContext drawingContext, Point origin, InvertAxes inversion)
       at #m3b.#l3b.#p3b.#2hc(ITextView #N5b, Rect #adc)
       at #m3b.#l3b.#2hc(ITextView #N5b, Rect #adc)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.RenderLines()
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.PerformViewLineLayout()
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.OnViewLineLayoutManagerLayoutRequired(Object sender, EventArgs e)
       at #m3b.#c4b.#Ekc(ITextSnapshot #I7b, ITextChange #g7b)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.TextView.#Ekc(ITextSnapshot #I7b, ITextChange #g7b)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Implementation.EditorViewManager.#ZE.#pqc(Object #axf)
       at #O2b.#N2b.#Kec[#gi](DependencyObject #QOd, Action`1 #2vf, #gi #3vf)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Implementation.EditorViewManager.NotifyDocumentTextChanged(TextSnapshotChangedEventArgs #yhb)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.SyntaxEditor.OnDocumentTextChanged(Object sender, TextSnapshotChangedEventArgs e)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.SyntaxEditor.<OnDocumentPropertyChanged>b__16(SyntaxEditor instance, Object source, TextSnapshotChangedEventArgs eventArgs)
       at ActiproSoftware.Text.Utility.WeakEventListener`2.OnEvent(Object source, TEventArgs eventArgs)
       at ActiproSoftware.Text.Utility.WeakEventListener`2.OnEventLowPriority(Object source, TEventArgs eventArgs)
       at ActiproSoftware.Text.Implementation.TextDocumentBase.OnTextChanged(TextSnapshotChangedEventArgs e)
       at ActiproSoftware.Text.Implementation.CodeDocument.OnTextChanged(TextSnapshotChangedEventArgs e)
       at ActiproSoftware.Text.Implementation.TextDocumentBase.#O7c(#g7b #g7b)
       at #Q2b.#g7b.Apply()
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.BasicReplaceSelectedText(ITextChangeType type, String text, IEditorViewTextChangeOptions options)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.ReplaceSelectedText(ITextChangeType type, String text, IEditorViewTextChangeOptions options)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.EditActions.TypingAction.Execute(IEditorView view)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.ExecuteEditAction(IEditAction action)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.ProcessOnTextInput(TextCompositionEventArgs e)
       at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorView.OnTextInput(TextCompositionEventArgs e)
       at System.Windows.UIElement.OnTextInputThunk(Object sender, TextCompositionEventArgs e)
       at System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition composition)
       at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e)
       at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.TextCompositionManager.UnsafeStartComposition(TextComposition composition)
       at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e)
       at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

    #2
    Hello cls71,

    Thank you for writing in.

    Can you please provide your full log and trace files so I may investigate further?

    Please manually send your log and trace files to platformsupport [AT] ninjatrader [DOT] com with my name and a link to this thread referenced in the body.

    You will find the log file on your PC in the (My) Documents > NinjaTrader 8 > Log folder.
    • The log file will be named "log.20160121.xxxxx.txt" (please provide all log files for this date)


    You will find the trace file on your PC in the (My) Documents > NinjaTrader 8 > Trace folder.
    • The trace file will be named "trace.20160121.xxxxx.txt" (please provide all trace files for this date)
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Oracletrades, Today, 09:10 PM
    0 responses
    2 views
    0 likes
    Last Post Oracletrades  
    Started by SteveAU, Today, 08:35 PM
    0 responses
    6 views
    0 likes
    Last Post SteveAU
    by SteveAU
     
    Started by Lloyd143, Today, 05:24 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by Hagar, Today, 04:38 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by [email protected], Today, 04:49 PM
    0 responses
    12 views
    0 likes
    Last Post bpatel20@gmail.com  
    Working...
    X