| SmartQuant Discussion http://www.smartquant.com/forums/ |
|
| OQ crashes when QuantRounter connection is still connected http://www.smartquant.com/forums/viewtopic.php?f=81&t=10761 |
Page 1 of 1 |
| Author: | mikembb [ Wed Jun 11, 2014 10:07 pm ] |
| Post subject: | OQ crashes when QuantRounter connection is still connected |
Dear Team, When I have OpenQuant running in live mode and my market data provider is QuantRouter and I stop the OpenQuant strategy it takes a few seconds and then I receive this error message within OpenQuant: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei SmartQuant.QuantRouterLib.Tcp.TcpConnection.Close() bei SmartQuant.QuantRouterLib.Client.Logout() bei SmartQuant.QR.QuantRouter.Disconnect() bei SmartQuant.QR.QuantRouter.Shutdown() bei SmartQuant.Providers.ProviderManager.Shutdown() bei OpenQuant.Program.Main() Then almost a minute later QuantRouter crashes with error messages till it fully collapses. One of the messages was: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) bei System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) bei System.Windows.Forms.Control.Invoke(Delegate method) bei OpenQuant.Shared.Providers.ProviderHelper.CancelMarketData(IMarketDataProvider provider, Instrument instrument, MarketDataType mdType) bei QuantRouter.Engine.RequestProcessor.ServerManager_OnUnsubscribeRequested(Object sender, ClientSubscriptionEventArgs e) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei QuantRouter.Engine.ServerManager.RemoveConnection(IConnection connection) bei QuantRouter.Engine.ServerManager.connection_OnClosed(Object sender, EventArgs e) bei SmartQuant.QuantRouterLib.Connection.OnClosed() bei SmartQuant.QuantRouterLib.Tcp.TcpConnection.JApFMwPnFg(Object ) bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart(Object obj) I hope you can fix this. I was not able to reproduce this problem with every run that I did. So it must have to do with some specific timing issue within TCP/IP. Regards Mike |
|
| Page 1 of 1 | All times are UTC + 3 hours |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|