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:


Line 135:        _ItemCode = sd.itemCode
Line 136:        litShopItemProductNumber.Text = sd.itemProductNumber
Line 137:        If sd.itemCentraVOBDesc.Length > 2 Then
Line 138:            litShopItemVOBDesc.Text = "<div class=""row""><div class=""col-md-12""><strong>" + sd.itemCentraVOBDesc + "</strong></div></div>"
Line 139:        End If

Source File: e:\web\sites\NAI0000040001\wwwroot\Shop\Modules\shopDetail.ascx.vb    Line: 137

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Modules_shopDetail.shopItemBind() in e:\web\sites\NAI0000040001\wwwroot\Shop\Modules\shopDetail.ascx.vb:137
   Modules_shopDetail.Page_Load(Object sender, EventArgs e) in e:\web\sites\NAI0000040001\wwwroot\Shop\Modules\shopDetail.ascx.vb:109
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0