Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception

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

    Unhandled exception

    Hi,

    I was trying to connect to IB when this message popped up and shut down NT8.

    "unhandled exception. index was out of range. must be non-negative and less than the size of the collection"

    do you know what is happening?

    Regards
    Kay Wai

    #2
    Hello kaywai,

    Thank you for your post.

    Please send your log and trace files to our Platform Support team so that I may look into what occurred.

    You can do this by going to the Control Center-> Help-> Email Support

    Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.

    Please reference the following ticket number in the body of the email:3189165 ATTN Raygen

    I look forward to resolving this item for you.

    Comment


      #3
      Hi Raygen,

      Sent. Thx.

      Kay Wai

      Comment


        #4
        Hello kaywai,

        Thank you for your reply.

        Please try the following steps:

        Clear your cache:
        • Shut down NinjaTrader.
        • Open the Documents > NinjaTrader 8 > db folder.
        • Delete the sub-folder named 'cache'.
        • Restart NinjaTrader and test.
        If you are still receiving the error, please rename your database
        • Shutdown NinjaTrader and Go to the Start Menu
        • Select My Documents--> NinjaTrader 8--> db--> "NinjaTrader.sdf" file (may only say 'NinjaTrader' depending on your Windows File Explorer settings)
        • Right click on NinjaTrader.sdf and select "Rename" *Name it "OLDNinjaTrader.sdf"
        • Then restart the software and NinjaTrader will create a fresh database file to use
        • Unfortunately the following items stored in the old database will be lost - Trading Hours templates, Instrument Lists / Custom Instruments, historical trade execution data, saved Strategy Analyzer backtest results

        To prevent running into situations where you can potentially lose important data, we advise running regular backups via our inbuilt backup feature in NinjaTrader - https://ninjatrader.com/support/help...up_archive.htm

        Please let me know if I may be of further assistance.

        Comment


          #5
          Hi Raygen,

          I will do that after market. After I restarted, which was before I emailed you, it seem to be working fine and a lot faster than it was yesterday. almost 2 hours into the market, it's still working fine and definitely a lot smoother than yesterday. Will keep monitoring and use the above recommendation if it recurs again.

          Thanks and regards
          Kay Wai

          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