Server Error in '/' Application.

Value cannot be null.
Parameter name: Argument 'Array' is Nothing.

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.ArgumentNullException: Value cannot be null.
Parameter name: Argument 'Array' is Nothing.

Source Error:


Line 74:         Dim lists() As ebApplication.MyDynamicLists.myTreatmentList
Line 75:         lists = MyTreatmentList.GetLists("119")
Line 76:         Dim j As Integer = UBound(lists)
Line 77:         Dim i As Integer
Line 78:         For i = 0 To j

Source File: E:\web\mycrusho\GoldenSprayTan.aspx    Line: 76

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: Argument 'Array' is Nothing.]
   Microsoft.VisualBasic.Information.UBound(Array Array, Int32 Rank) +426388
   ASP.goldenspraytan_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in E:\web\mycrusho\GoldenSprayTan.aspx:76
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) +17
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974