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 489:<ul id="image-gallery" class="gallery list-unstyled cS-hidden">
Line 490:
Line 491:<%# storeProduct["slideShowImage1"].ToString() != "" ? "<li data-color_id='0' data-thumb='images/" + storeProduct["slideShowImage1"].ToString().Split('.')[0] + "_R2" + "." + storeProduct["slideShowImage1"].ToString().Split('.')[1] + "'> <img src='images/" + storeProduct["slideShowImage1"].ToString() + "'></li>" : ""%>
Line 492:<%# storeProduct["slideShowImage2"].ToString() != "" ? "<li data-color_id='0' data-thumb='images/" + storeProduct["slideShowImage2"].ToString().Split('.')[0] + "_R2" + "." + storeProduct["slideShowImage2"].ToString().Split('.')[1] + "'> <img src='images/" + storeProduct["slideShowImage2"].ToString() + "'></li>" : ""%>
Line 493:<%# storeProduct["slideShowImage3"].ToString() != "" ? "<li data-color_id='0' data-thumb='images/" + storeProduct["slideShowImage3"].ToString().Split('.')[0] + "_R2" + "." + storeProduct["slideShowImage3"].ToString().Split('.')[1] + "'> <img src='images/" + storeProduct["slideShowImage3"].ToString() + "'></li>" : ""%>

Source File: c:\inetpub\wwwroot\kstisrael.co.il\Moduls\store\product_id\keshet_product_id_page.ascx    Line: 491

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.keshet_product_id_page.__DataBind__control4(Object sender, EventArgs e) in c:\inetpub\wwwroot\kstisrael.co.il\Moduls\store\product_id\keshet_product_id_page.ascx:491
   System.Web.UI.Control.OnDataBinding(EventArgs e) +97
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +173
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   product_id.Page_LoadComplete(Object sender, EventArgs e) in c:\inetpub\wwwroot\kstisrael.co.il\product-id.aspx.cs:59
   System.Web.UI.Page.OnLoadComplete(EventArgs e) +11860132
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5462


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