Any help would be appreciated
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bar and Price Snap mode produces Unhandled Exceptions
Collapse
X
-
Bar and Price Snap mode produces Unhandled Exceptions
Whenever I apply bar and price snap mode to lines, rectangles or fibonacci tools I get numerous 'Untitled exception: Object reference not set to an instance of an object' errors. The only way I can extricate from the problem is to close the chart.
Any help would be appreciatedTags: None
-
hello adam911,
Thank you for the message.
The "Unhandled Exception" error message can appear for a variety of reasons.
One way to find what is causing it is to create a New Workspace and then methodically add things back into the Workspace 1-by-1 until the error reappears to narrow in on what is causing it:- You could create a New Workspace > Save it > Then restart NinjaTrader and see if the error still appears.
- If not, add things back in 1-by-1 and test the workspace to see if the error is still appearing.
- Add something new, test it out, save the workspace and restart NinjaTrader and test to make sure the error hasn't come back
- If the error comes back, you will know it is being caused by the last thing you added and you can then reach out to that developer for more information on why the error message is appearing and what needs to be done to avoid it moving forward.
Or, you may use the following steps to create a copy of the workspace and then remove things from the copy 1-by-1 until the error stops appearing.- Go to the Control Center > Workspaces > Hover over the workspace that made error appear > Click "save as" > Give it a name like "Testing" > Click OK
- Go back to the Workspaces menu > Hover over the workspace with a green icon next to it > Click save > Restart NinjaTrader
- Did the error still appear?
- If yes, remove one entire chart window > Save the workspace > Restart NinjaTrader
- If the error is still showing, remove another window and keep repeating this process until the unhandled exception disappears
- Once the error stops appearing, this lets you know it was coming from the last window you removed
- Go back to the Original Workspace > Do "Save as" again > Call it Testing 2 > Click OK > Save the workspace and restart NinjaTrader
- Now, go to that specific window and remove Indicators from the chart 1-by-1 > save the workspace > Restart NinjaTrader
- Once the error stops appearing, you will know that the last thing removed was causing it and you can reach out to the developer for more information on why and what needs to be done to make it stop moving forward.
- If yes, remove one entire chart window > Save the workspace > Restart NinjaTrader
Please let us know if we may provide any further assistance.
- You could create a New Workspace > Save it > Then restart NinjaTrader and see if the error still appears.
-
I get the same error when trying to snap a ray to bar+price. Snaps fine to just price, snaps fine to just bar, but bar+price throws unhandled error. I assume the ray is having an issue snapping to the bar at a specified price.
Comment
-
Hello tonydavisonline,
Thank you for the message.
Did this behavior continue after performing all of the steps above?- If you haven't already, perform all of the steps in my last response to narrow in on the underlying cause.
If the behavior continued after the steps above, please use the following steps to send your log and trace files to the support team directly from your NinjaTrader Platform so we may investigate this behavior further:- Within NinjaTrader, go to the Control Center > Help > Email Support...
- To: Set this to "Platform Technical Support"
- Subject: Copy and paste the Forum URL
- Attach: Attach a file, picture, or compressed file to share multiple files/pictures
- Body: Include any other information you would like to share on the situation
- Make sure 'Log and Trace files' is checked to include the requested files
- Send the email
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