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 41:                     </div>
Line 42:                     <div class="listcon_r">
Line 43:                         <div class="img"><img src="<%=HaofzAllInOne.BLL.Website.Define.GetKftImageUrl(_entity.GroupOnImage) %>" onerror="this.src='images/error.jpg'" /></div>
Line 44:                         <div class="fav">
Line 45:                             <%--<img src="/Handler.ashx?data=http://www.haofz.com&len=20"/>--%>

Source File: e:\wwwroot2015\haofangtuan\tuandetail.aspx    Line: 43

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.tuandetail_aspx.__RenderContent4(HtmlTextWriter __w, Control parameterContainer) in e:\wwwroot2015\haofangtuan\tuandetail.aspx:43
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   ASP.master_boot_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\4138ea09\2290460b\App_Web_jluxm4df.0.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11830528
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +46
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +49
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   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.3282.0