Ninja 8 was working fine on my PC. Earlier today I was downloading some ES replay data (which I've done many times before). Closed Ninja down. Rebooted and went to restart ninja and nothing happened. No splash screen. No log files or trace files created (the last ones were from when I closed down the app earlier). Tried opening several times.
last log (unrelated I believe):
2022-02-28 00:01:30:600|3|2|Connection lost to the NinjaTrader Information Server: is-us-nt-001.ninjatrader.com
2022-02-28 00:01:40:613|1|2|Using HDS (is-us-nt-001.ninjatrader.com/31658)
2022-02-28 01:01:30:606|3|2|Connection lost to the NinjaTrader Information Server: is-us-nt-001.ninjatrader.com
2022-02-28 01:01:40:614|1|2|Using HDS (is-us-nt-001.ninjatrader.com/31658)
2022-02-28 01:33:16:591|1|4|Workspace Futures 1 not saved
2022-02-28 01:33:18:823|1|4|Workspace Layout 1 not saved
I subseqently went into Win10 Event Viewer -> administrative events; and found the following 2 errors (repeateable, each time I try to launch Ninja):
1) Application: NinjaTrader.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare)
at NinjaTrader.Cbi.ConfigSerializer.Serialize()
at NinjaTrader.Core.Globals.get_ServerOptions()
at NinjaTrader.Core.Globals.get_Now()
at NinjaTrader.Core.Globals.get_NTConfig()
at NinjaTrader.Cbi.LicenseData.GetDefaultProviders()
at NinjaTrader.Cbi.LicenseData..ctor()
at NinjaTrader.Cbi.License..cctor()
Exception Info: System.TypeInitializationException
at NinjaTrader.Cbi.License.get_IsServer()
at NinjaTrader.Core.GeneralOptions.get_TimeZoneInfo()
at NinjaTrader.Core.GeneralOptions..ctor()
at NinjaTrader.Core.Globals.get_GeneralOptions()
at NinjaTrader.App..ctor()
at NinjaTrader.App.Main()
2) Faulting application name: NinjaTrader.exe, version: 8.0.23.2, time stamp: 0x5fd39f66
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1466, time stamp: 0xe01c7650
Exception code: 0xe0434352
Fault offset: 0x0000000000034f69
Faulting process id: 0x28a8
Faulting application start time: 0x01d82c75afc5d376
Faulting application path: C:\Program Files (x86)\NinjaTrader 8\bin64\NinjaTrader.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: eb260209-d8cd-45ad-b344-12479b39b361
Faulting package full name:
Faulting package-relative application ID:
--
I note that I diabled a few 3rd party startup apps between when the problem started ocuring. One was the oneDrive app, which is the only one that I thought may have a connection, as that syncs the Documents folder (which Ninja saves the user info in).
I've subsequently enabled that, rebooted, but still the same issue as above.
All the files are where they should be (ie: nothing was deleted when I disabled the oneDrive syncing above).
--
I've also tried to enter the Ninja safe mode by holding down control key on launch. This doesn't help, still same 2 errors above.
--
Can you advise what directory this is likely looking for and flagging the error? It's something immediately on startup as the splash screen isn't even coming up. Please let me know instructions how to reset or something.
I have a lot of data and strategies so I don't want to mess with anything I have set up.
Urgent as I'm logging data and feeding this into my active trading.
thanks,
Daniel

Comment