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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    78 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    131 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    79 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    242 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    331 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X