Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:


[NullReferenceException: Object reference not set to an instance of an object.]
   KCCheckin.Public.KidCheck.checkin.program.rgList_ItemCreated(Object sender, GridItemEventArgs e) in C:\ProgramData\Jenkins\.jenkins\workspace\Pipelines\Build KidCheck.Net\webroot\KidCheck\checkin\program.aspx.cs:703
   Telerik.Web.UI.RadGrid.OnItemCreated(GridItemEventArgs e) +128
   Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) +887
   Telerik.Web.UI.GridItemBuilder.InitializeItem(Int32 dataSourceIndex, String& nextItemHierarchicalIndex, Boolean& itemIsInEditMode) +186
   Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +459
   Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) +266
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +2783
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +1318
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +193
   System.Web.UI.Control.EnsureChildControls() +105
   Telerik.Web.UI.GridTableViewBase.get_Controls() +23
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +34
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +184
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +346
   System.Web.UI.Page.LoadAllState() +525
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2485