neimex23 / HitCounterManager

AutoSplitterCore for HCM
MIT License
8 stars 2 forks source link

Out of Range Issue #1

Closed neimex23 closed 2 years ago

neimex23 commented 2 years ago

Exception Produce:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

at System.Collections.ArrayList.get_Item(Int32 index) at System.Windows.Forms.DataGridViewSelectedCellCollection.get_Item(Int32 index) at HitCounterManager.ProfileDataGridView.get_ActiveSplit() at HitCounterManager.ProfileDataGridView.AddDuration(Int64 Duration) at HitCounterManager.ProfilesControl.UpdateDuration() at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)`

To Reproduce Randomly in DS3 when splits are more than splits events.

neimex23 commented 2 years ago

Fixed in PR_3.2: Changing method of spliting.