Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception Errors "An entry with the same key already exists."

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

    Unhandled Exception Errors "An entry with the same key already exists."

    Hi,

    There are Unhandled Exception Errors in the log file

    2024-05-07 08:26:55:819|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:55:991|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:56:068|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:56:321|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:56:361|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:56:628|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:56:852|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:57:008|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:57:385|0|4|Unhandled exception: An entry with the same key already exists.
    2024-05-07 08:26:57:438|0|4|Unhandled exception: An entry with the same key already exists.​


    Do you have any idea where these errors come from?​

    Regards
    Klaus

    #2
    Hello Klaus Hengher,

    Is this when you do a specific action?

    The error alone does not mean a lot, its a C# term that happens for dictionaries.

    Comment


      #3
      I add an ATM I get that message.

      Comment


        #4
        Hello Klaus Hengher,

        That could mean that an ATM with a duplicate name is being added, Try doing the following.
        1. Open the folder Documents\NinjaTrader 8\templates\AtmStrategy
        2. Move the files to your desktop
        3. Try the action that causes the error, does the error still happen?

        If the error does not happen that means one of the template files is causing the error, to avoid the error you can try adding back the templates one at a time to find which had a problem.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        41 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X