Course Score

by dmcaf

Downloads: 2,780 (11) • Reviews: 2

Version:

1.5.2

Updated:

Aug 11, 2013

exemption finding similar hill ( Index was out of range)

exemption finding similar hill ( Index was out of range)

Postby mazoaguirre » Sat Nov 13, 2010 6:48 am

i try to find this hill for all activities in current category i have selecte my root category, the progress bar stopped at an activity without elevation (bike transportation that i creates in the map

is no bigdeal, you click continue and no collateral efects, in fact it help me to find activities without elevation :wink:



Code: Select all
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.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at ZoneFiveSoftware.Common.Data.NumericTimeDataSeries.get_Item(Int32 index)
   at CourseScore.UI.DetailPage.HillsDetailControl.FindThisFeature(Feature feature, IActivity searchActivity)
   at CourseScore.UI.DetailPage.HillsDetailControl.contextMenuStrip_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)
FR 310 and Foot Pod, Edge 500 and Cadence Sensor, GoPro HD 960
mazoaguirre.com
mazoaguirre
Contributor!
Contributor!
 
Posts: 1005
Joined: Fri May 27, 2005 6:29 pm
Location: San Felipe "Torres Mochas" Guanajuato Mexico

Re: exemption finding similar hill ( Index was out of range)

Postby ViDi0T » Thu Jan 27, 2011 9:22 pm

I am having the same error when trying to find similar hill for a running activity.

When it stops, the window reads "exporting elevation data for 1/1/0001 11:00AM"

As far as I can see, I have no such activity in my log book for that (weird) date. I click continue and nothing happens, if I click quit, ST crashes.

************* 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.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
ViDi0T
Donated!
Donated!
 
Posts: 119
Joined: Sun Jun 17, 2007 11:53 pm
Location: Calgary, Canada

Re: exemption finding similar hill ( Index was out of range)

Postby dmcaf » Mon Apr 11, 2011 12:57 pm

Hi,

v1.3 has just been released for Course Score. This error should be fixed. If it encounters an activity with an error, it shouldn't blow up completely. You should get an error message saying which activity is at fault and the app should continue to be stable.
dmcaf
Donated!
Donated!
 
Posts: 53
Joined: Mon Oct 27, 2008 7:48 am


Return to Course Score

Who is online

Users browsing this forum: No registered users and 2 guests