Hello,
After login and I choose "Simulation" I have error.
"The type initializer for 'NinjaTrader.Cbi.AutoTrade' threw an exception."
I ran reinstall/repair every day.
Next ... I've been searching the errorlogs for the past week and found the trace files.
At the end ...
2023-04-09 09:54:19:912 *************** unhandled exception trapped ***************
2023-04-09 09:54:19:912 The type initializer for 'NinjaTrader.Cbi.AutoTrade' threw an exception.
2023-04-09 09:54:19:912 The directory name C:\Users\stivi\Documents\NinjaTrader 8\incoming is invalid.
2023-04-09 09:54:19:933 System.TypeInitializationException: The type initializer for 'NinjaTrader.Cbi.AutoTrade' threw an exception. ---> System.ArgumentException: The directory name C:\Users\stivi\Documents\NinjaTrader 8\incoming is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at NinjaTrader.Cbi.AutoTrade..ctor()
at NinjaTrader.Cbi.AutoTrade..cctor()
--- End of inner exception stack trace ---
at NinjaTrader.Core.Globals.ApplicationStart(Action`1 errorCallback, Func`2 userFeedbackCallbackYesNoAll)
at NinjaTrader.AppHelper.<>c__DisplayClass0_0.<OnStar tup>b__0(Object _)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-04-09 09:54:23:877 Server.HdsClient.ProcessStartupInfo.Info0: Commissions=0 InstrumentLists=9 MasterInstruments=0 Messages=3 Risks=0 RolloverCollection=224 TradingHours=0
(Version 8.1.1.3)
Directory "incoming" not exsist.
I added the "incoming" directory.
Next day same problem ... Same error and missing directory "incoming"
The directory "incoming" again is deleted.
Do you have an explanation or is it a bug in NT8 ?
Have nice day
Roman
Comment