Jump to content
Medved Trader Forums

adding or editing portfolio


rocarr
 Share

Recommended Posts

The latest version ol MT seems to have a problem when adding to or trying to

edit the items in the portfolio.

I never had this problem in previous versions.

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at MT.PortItem.set_Symbol(String value) in C:\MedvedTrader\MT\PortItem.cs:line 87
   at MT.PortItem.CopyFrom(PortItem existingItem) in C:\MedvedTrader\MT\PortItem.cs:line 73
   at MT.PortItem..ctor(PortItem existingItem) in C:\MedvedTrader\MT\PortItem.cs:line 64
   at MT.PortItem.NewPortItem(PortItem existingItem) in C:\MedvedTrader\MT\PortItem.cs:line 32
   at MT.PortfolioSimple.AddSymbol(PortItem item) in C:\MedvedTrader\MT\PortfolioSimple.cs:line 508
   at MT.PortEditSimple.SetupNewRow(Row row) in C:\MedvedTrader\MT\PortEditSimple.cs:line 1126
   at MT.PortEditSimple.Grid_AfterAddRow(Object sender, RowColEventArgs e) in C:\MedvedTrader\MT\PortEditSimple.cs:line 1110
   at C1.Win.C1FlexGrid.C1FlexGridBase.OnAfterAddRow(RowColEventArgs e)
   at ..()
   at ..(Int32 row, Int32 col)
   at ..StartEditing(Int32 row, Int32 col, Char key, Boolean force, Point ptMouse, Boolean dblClick)
   at C1.Win.C1FlexGrid.C1FlexGridBase.StartEditing(Int32 row, Int32 col, Char key, Boolean force)
   at C1.Win.C1FlexGrid.C1FlexGrid.StartEditing(Int32 row, Int32 col, Char key, Boolean force)
   at ..StartEditing(Char key)
   at ..OnKeyPress(KeyPressEventArgs e)
   at C1.Win.C1FlexGrid.C1FlexGridBase.OnKeyPress(KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.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)

************** Loaded Assemblies **************

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...