Jump to content
Medved Trader Forums

Bug in charts


Recommended Posts

I provided steps to repo the error🤣 and clearly the error is due to the fact that you are allowing deleting/copying/editing something that does not exist anymore

Following is the exception stack

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at MT.Threaded.TList`1.get_Item(Int32 index) in C:\MedvedTrader\Util\TCollections\TList.cs:line 1338
   at MT.ChartWindow.EditCurrentlySelectedDrawItem(Object sender, Int32 X, Int32 Y) in C:\MedvedTrader\MT\ChartWindow.cs:line 2869
   at MT.ChartWindow.ribDrawEdit_Click(Object sender, EventArgs e) in C:\MedvedTrader\MT\ChartWindow.cs:line 9433
   at C1.Win.C1Ribbon.RibbonButton.OnClick(EventArgs e)
   at C1.Win.C1Ribbon.RibbonButton.d()
   at C1.Win.C1Ribbon.bk.OnMouseUp(MouseEventArgs e)
   at C1.Framework.XView.OnMouseUp(MouseEventArgs e)
   at C1.Win.C1Ribbon.C1Ribbon.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at C1.Framework.ScrollableControl.WndProc(Message& m)
   at C1.Win.C1Ribbon.C1Ribbon.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
    Assembly Version:
    Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    Assembly Version:
    Win32 Version: 1.1.9500.104
    CodeBase: file:///C:/Program%20Files/Medved%20Trader/MT.exe


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.

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.

  • Create New...