SmartQuant Discussion
http://www.smartquant.com/forums/

Exception While Opening BrokerInfoWindow
http://www.smartquant.com/forums/viewtopic.php?f=41&t=10610
Page 1 of 1

Author:  umer.master [ Thu Oct 10, 2013 6:30 pm ]
Post subject:  Exception While Opening BrokerInfoWindow

Hello Support,

There is an issue when i try to open the BrokerInfoWindow in QuantTrader. This is what happens:

Image

The exception details are at the end of the message. Please note that the execution provider is connected to IB.

Please advise.

Thanks
Umer

Code:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at QuantTrader.BrokerInfo.BrokerInfoWindow.Init()
   at QuantTrader.BrokerInfo.BrokerInfoWindow.OnInit()
   at SmartQuant.Docking.WinForms.DockControl.Init(Object key, DockControlSettings settings)
   at SmartQuant.Docking.WinForms.DockManager.Open(Type type, Object key, Boolean focus)
   at SmartQuant.Docking.WinForms.DockManager.Open(Type type)
   at QuantTrader.QuantTraderForm.menuView_BrokerInfo_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Author:  Alexei Kurov [ Fri Oct 11, 2013 10:16 am ]
Post subject:  Re: Exception While Opening BrokerInfoWindow

Hi,

What configuration mode (Live or Paper) do you use when you are getting this error?
What execution provider is set in Live mode?

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/