'Index was outside the bounds of the array' error message
Posted: Tue Nov 01, 2005 10:38 pm
Hello,
I am charting environmental data from 56 different streams and rivers. For 53 of the streams the charts work perfectly. For 3 of the streams I am getting the following error and I can't figure out what is causing it. Any ideas?
Server Error in '/wlr/waterres/StreamsData' Application.
--------------------------------------------------------------------------------
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
Steema.TeeChart.Styles.ValueList.get_Item(Int32 index) +21
Steema.TeeChart.Styles.CustomBox.Percentile(Double P, Double InvN) +111
Steema.TeeChart.Styles.CustomBox.ReconstructFromData() +227
Steema.TeeChart.Styles.CustomBox.DoBeforeDrawValues() +27
Steema.TeeChart.Styles.Series.DrawSeries() +825
Steema.TeeChart.Chart.InternalDraw(Graphics g) +1005
Steema.TeeChart.Chart.Draw(Graphics g, Rectangle r) +94
Steema.TeeChart.Chart.Draw(Graphics g) +88
Steema.TeeChart.Chart.Bitmap(Int32 width, Int32 height, PixelFormat pixelformat) +109
Steema.TeeChart.Chart.Bitmap(Int32 width, Int32 height) +11
Steema.TeeChart.Export.ImageExportFormat.Save(Stream stream) +92
Steema.TeeChart.Web.WebChart.CreatePictureFile(HtmlTextWriter writer) +780
Steema.TeeChart.Web.WebChart.Render(HtmlTextWriter output) +10
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Page.ProcessRequestMain() +1897
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
I am charting environmental data from 56 different streams and rivers. For 53 of the streams the charts work perfectly. For 3 of the streams I am getting the following error and I can't figure out what is causing it. Any ideas?
Server Error in '/wlr/waterres/StreamsData' Application.
--------------------------------------------------------------------------------
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
Steema.TeeChart.Styles.ValueList.get_Item(Int32 index) +21
Steema.TeeChart.Styles.CustomBox.Percentile(Double P, Double InvN) +111
Steema.TeeChart.Styles.CustomBox.ReconstructFromData() +227
Steema.TeeChart.Styles.CustomBox.DoBeforeDrawValues() +27
Steema.TeeChart.Styles.Series.DrawSeries() +825
Steema.TeeChart.Chart.InternalDraw(Graphics g) +1005
Steema.TeeChart.Chart.Draw(Graphics g, Rectangle r) +94
Steema.TeeChart.Chart.Draw(Graphics g) +88
Steema.TeeChart.Chart.Bitmap(Int32 width, Int32 height, PixelFormat pixelformat) +109
Steema.TeeChart.Chart.Bitmap(Int32 width, Int32 height) +11
Steema.TeeChart.Export.ImageExportFormat.Save(Stream stream) +92
Steema.TeeChart.Web.WebChart.CreatePictureFile(HtmlTextWriter writer) +780
Steema.TeeChart.Web.WebChart.Render(HtmlTextWriter output) +10
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Page.ProcessRequestMain() +1897
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032