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 235:                            <!-- cars List -->
Line 236:                            <ul class="homes-list clearfix">
Line 237:                                 <%=amenities.Replace("<ul>","<ul class=\"homes-list clearfix\">").Replace("<li>","<li><i class=\"fa fa-check-square\" aria-hidden=\"true\"></i>")%> 
Line 238:                                       
Line 239:                            </ul>

Source File: c:\inetpub\vhosts\rapiddealsuae.com\rapiddealsuae.com\property_details.aspx    Line: 237

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.property_details_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\vhosts\rapiddealsuae.com\rapiddealsuae.com\property_details.aspx:237
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   ASP.masterpage_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\vhosts\rapiddealsuae.com\rapiddealsuae.com\MasterPage.master:157
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8752


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