Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

unhandled exception trapped - Failed to compare two...

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

    unhandled exception trapped - Failed to compare two...

    FYI, I received this unusual error right after performing a Reset of Database Management > Reset DB > Historical orders & Historical executions.
    Take care,
    Zac


    2024-08-01 15:36:28:530 *************** unhandled exception trapped ***************
    2024-08-01 15:36:28:530 Failed to compare two elements in the array.
    2024-08-01 15:36:28:530 Object reference not set to an instance of an object.
    2024-08-01 15:36:28:531 System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.Cbi.InstrumentList.<>c.<DbLoad>b__14_0 (Instrument a, Instrument b)
    at System.Collections.Generic.ArraySortHelper`1.SwapI fGreater(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)
    at System.Collections.Generic.ArraySortHelper`1.Depth LimitedQuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper`1.Sort( T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
    --- End of inner exception stack trace ---
    at System.Collections.Generic.ArraySortHelper`1.Sort( T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
    at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
    at System.Collections.Generic.List`1.Sort(Comparison` 1 comparison)
    at NinjaTrader.Cbi.InstrumentList.DbLoad()
    at NinjaTrader.Cbi.InstrumentList.get_All()
    at NinjaTrader.Gui.Data.DatabaseManager.<>c__DisplayC lass41_0.<UpdateListsRollovers>b__0(Object _)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()

    zacwhitesi
    NinjaTrader Ecosystem Vendor - Shark Indicators

    #2
    Hello zacwhitesi


    Thank you for using NinjaTrader.

    Please contact our support team at support@ninjatrader[dot]com with your log and trace files.


    You can send these files by using the following steps:
    • Open the 'Windows File Explorer' then navigate to, "Documents" > 'NinjaTrader 8' folder
    • Right-click on the 'log' and 'trace' folders and select Send To > Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to support@ninjatrader[dot]com
    • Once complete, you can delete these compressed folders.


    Thank you in advance.​​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    553 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    100 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    543 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    546 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X