Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
unhandled exception
Collapse
X
-
unhandled exception
NT8 desktop allows me to log on but then when I try to hit Connections 'live' or simulation for that matter,,, i get an error message saying unhandled exception: object reference not set to an instance of an object - then shuts downTags: None
-
Hello illiterate,
Thank you for informing us.
To try to correct and prevent this error in the future, 2 steps will be necessary.
1. Rename your Database file.
You can rename database to resolve this item using the following steps:- Shutdown NinjaTrader, and navigate to the Windows File Explorer (Windows Key + E)
- Go to the Documents/NinjaTrader 8/db folder
- Right-click on "NinjaTrader.sqlite" and rename it to "NinjaTrader OLD.sqlite"
- Here is a reference video: https://app.screencast.com/ffpxQ063SjZq9
When you restart NinjaTrader, a fresh database file will automatically be created by the software. You should then be able to connect and your Charts should be loading properly.- Unfortunately, the following items stored in the old database will be lost - custom Trading Hours templates, custom Instruments/Instrument Lists, historical trade execution data, and saved Strategy Analyzer backtest results
- Locally added Sim accounts will be removed, Sim101 will be reset, and any strategies will need to be re-added to the Strategies tab
To prevent running into situations where you can potentially lose important data, we advise running regular backups via the built-in Backup feature in NinjaTrader.- To prevent this error in the future, if you have not yet done so, please update to the latest version (8.1.3.1) to implement system fixes.
To update to the latest version of NinjaTrader Desktop please follow the steps below.- Login into the NinjaTrader Account Dashboard
- Click "Download" in the bottom left-hand corner of the sidebar
- Next select "Download" in the "Most Recent Release" Window in the main screen
- Once the installation had downloaded, ensure any previous version of NinjaTrader is closed before running the installation package.
After the installation package is completed you will be able to log into to the latest version of NinjaTrader Desktop with the connection guide linked below:
Connecting in NinjaTrader Desktop
Please let us know if we may be of any further assistance.Erick P.NinjaTrader Customer Service
-
that made my sim accounts go away but instantly throws same error back up when try again
now there is a ninjatrader.old.sqlite, a ninjatrader.sqlite, and a ninjatraderold.sqlite fileLast edited by illiterate; 09-27-2024, 01:00 PM.
Comment
-
Hello illiterate,
Thank you for informing us.
The removal of the sim accounts with a new database is expected.
However, if this error is persisting, this would make me think it is being caused by a external component.
To rule out that there are issues with your core files/NinjaTrader Installation, I recommend you try a platform repair first, and if this does not resolve it, then we would want to review your platform files for more underlying issues.
To complete a repair, do the following:- Shut down NinjaTrader 8
- Go to your computer's Control Panel > Programs & Features (Note: search for 'Control Panel' to find it within the Windows Start Menu. This will be a different window than the Settings page)
- Left-click once on NinjaTrader 8 > select 'Repair' above the list of available programs
- Restart the platform after it finishes repairing, and test for this behavior again.
- Here is a video I made for your reference: https://www.screencast.com/t/5RH7MjuaQiG
If after the repair, your platform is still not functioning:
Please send in your log and trace files so that we may look more into what may be occurring.
You can do this by going to the Control Center-> Help-> Email Support
Make sure to categorize your request at the top.
Ensure 'Log and Trace Files' is checked will include these files. This is checked by default.
If you could also provide a screenshot of what you are seeing, that would be appreciated.
Thanks in advance, we look forward to helping resolve this issue for you.Erick P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
55 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
17 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment