Висит на "Загрузка настроек задачи: Quik" при автостарте
При запущенном квике пишет:
02:40:47.943| |Quik |Инициализируется.
02:40:47.953| |Quik |Перешел в состояние Started.
02:40:48.226| |HydraQuikTrader|Connect
02:40:49.829| |HydraQuikTrader|RCM: Connecting PrevState = -1 CurrState = -1.
02:40:49.830| |HydraQuikTrader|StartExport
02:40:54.895|Error |Unhandled Exception|System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at StockSharp.Hydra.MainWindow.LockUnlock()
at StockSharp.Hydra.MainWindow.Start(Boolean auto)
at StockSharp.Hydra.MainWindow.InitializeLogicEnvironment()
at StockSharp.Hydra.MainWindow.<MainWindowLoaded>b__65(Task`1 task)
at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at StockSharp.Hydra.MainWindow.LockUnlock()
at StockSharp.Hydra.MainWindow.Start(Boolean auto)
at StockSharp.Hydra.MainWindow.InitializeLogicEnvironment()
at StockSharp.Hydra.MainWindow.<MainWindowLoaded>b__65(Task`1 task)
at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Если квик не запущен:
02:55:05.586| |Quik |Инициализируется.
02:55:05.598| |Quik |Перешел в состояние Started.
02:55:06.004| |HydraQuikTrader|Connect
02:55:07.702| |HydraQuikTrader|RCM: Connecting PrevState = -1 CurrState = -1.
02:55:07.705| |HydraQuikTrader|StartExport
02:55:07.944|Error |HydraQuikTrader|System.InvalidOperationException: Нет информации о главном окне Quik. Возможно, было неуспешное подключение.
at StockSharp.Quik.QuikTerminal.#=q3uymJyDZRFds3o8WkEfSoZkCtSH7rNf7bna$a1WGBKY=()
at StockSharp.Quik.QuikTerminal.#=qO12fySP$2xVDE6I3C37G_yTMyyxSv$XJ9XQmySe4Ij4=()
at StockSharp.Quik.QuikTerminal.#=qX_PNGh1vpq0UGz$MJnmf7g==()
at StockSharp.Quik.QuikTerminal.#=qgAaSsBchqjEjX4A1RFHCOWcusxpurwPyKfVMJQOLszM=()
at StockSharp.Quik.QuikTerminal.#=qiqXYKKWVCwFVw_0Cg2UJgA==(#=q1LKm0XVCUO7kVB_FOMJuGv3QKecxL9HabFkiv9UsyA4= #=qv1YHl41jKhRTofiSOD51Xg==)
at StockSharp.Quik.QuikTerminal.#=qBTGVZsaaK5Rzp6NK7inHEw==(String #=qf0oIMvbzSTjpvZd5ZcVidA==)
at StockSharp.Quik.QuikTerminal.#=qltb_BMnWhBGLu68kzn1z6g==(IEnumerable`1 #=qmyRVbNwKrQwdijLkV3FFmw==)
at StockSharp.Quik.QuikTrader.StartExport(IEnumerable`1 ddeTables)
at StockSharp.Hydra.Quik.HydraQuikTrader.OnStartExport()
at StockSharp.Algo.BaseTrader.StartExport()
at StockSharp.Hydra.Core.MarketDataTrader`1.OnConnected()
at Ecng.Common.DelegateHelper.SafeInvoke(Action handler)
at StockSharp.Hydra.Quik.HydraQuikTrader.OnConnect()
at StockSharp.Algo.BaseTrader.Connect()
02:55:07.965| |Quik |Получено 0 новых инструментов.
02:55:07.970| |Quik |Получено 0 новых инструментов.
02:55:07.974| |Quik |Получено 0 новых инструментов.
02:55:07.978| |Quik |Получено 0 новых инструментов.
В обоих случаях виснет намертво.. приходится убивать через диспетчер задач...
При ручном запуске, экспорт стартует нормально...