Skip to content

Instantly share code, notes, and snippets.

@bleroy
Created April 1, 2015 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bleroy/d1f4f661454f5e215397 to your computer and use it in GitHub Desktop.
Save bleroy/d1f4f661454f5e215397 to your computer and use it in GitHub Desktop.
CodePlex Issue #16472 Plain Text Attachments
Server Error in '/OrchardLocal' 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 2: <%@ Import Namespace="Orchard.Mvc.ViewModels"%>
Line 3: <%@ Import Namespace="Orchard.Blogs.Models"%>
Line 4: <% Html.AddTitleParts(Model.Item.Name); %>
Line 5: <% Html.Zone("primary"); %>
Line 6: <% Html.ZonesAny(); %>
Source File: c:\Workspace\orchard\src\Orchard.Web\Modules\Orchard.Blogs\Views\EditorTemplates\Items\Blogs.Blog.ascx Line: 4
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Orchard.Blogs.Models.Blog.get_Name() +48
ASP.modules_orchard_blogs_views_editortemplates_items_blogs_blog_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Workspace\orchard\src\Orchard.Web\Modules\Orchard.Blogs\Views\EditorTemplates\Items\Blogs.Blog.ascx:4
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
System.Web.UI.Control.Render(HtmlTextWriter writer) +10
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +55
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment