Umbraco/uBlogsy problems and questions
31 December 2013
Hi, Anthony. I have failed to find a good way to contact you, I've stumbled upon some problems I really want to be solved. I'll list them all here, please try to help me.
First of all, my original problem rose after I have updated Umbraco 6.1.0 to 6.1.6. I am 100% sure I have done updating process right. Then I started debugging it, trying to figure it out and fix it. The more I dug, the more literal headache I got. Every step I tried to rely on was uncertain.
Problem 1:
Clean Umbraco 6.1.6. Put contents of UmbracoCms.6.1.6.zip to an empty folder, open and run it with WebMatrix 3.0 (there was never any difference to real IIS server, but I had to mention it). Set up empty site with no starter kit, use SQLCE (again, I had same problems running MSSQL8R2 and MSSQL12, this doesn't seem to matter here, I just got tired of creating empty DBs to test it over and over, using SQLCE just to make testing faster). Download uBlogsy_Webforms_3.0.2.zip to my PC, install it from Developers > Packages > Install local package. Publish home node and all below. Create Page, enter sample content, save it, Preview it - everything's fine. Create Post, enter sample content, save it, Preview it - exception!
YSOD:
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:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview) +64
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview) +28
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId) +14
Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId) +38
Umbraco.Web.UmbracoHelper.TypedContent(Int32 id) +26
uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:24
uBlogsy.WebForms.usercontrols.uCommentsy.Contact.OnLoad(EventArgs e) in D:\_PROJECTS\Personal\uBlogsy\uBlogsy Webforms\Source\uBlogsy.WebForms\usercontrols\uCommentsy\Contact.ascx.cs:61
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055
Log file was empty before I pressed Preview. Contents of UmbracoTraceLog.txt after:
2013-12-31 10:33:46,361 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/global/ublogsyglobalbrowsertitle.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_global_ublogsyglobalbrowsertitle_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Global\uBlogsyGlobalBrowserTitle.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,362 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/global/ublogsyglobalseometa.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_global_ublogsyglobalseometa_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Global\uBlogsyGlobalSeoMeta.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,363 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/global/ublogsyglobalbrowsertitle.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_global_ublogsyglobalbrowsertitle_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Global\uBlogsyGlobalBrowserTitle.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,363 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/global/ublogsyglobalseometa.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_global_ublogsyglobalseometa_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Global\uBlogsyGlobalSeoMeta.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,364 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/global/ublogsyglobalheader.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_global_ublogsyglobalheader_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Global\uBlogsyGlobalHeader.cshtml:line 6
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,365 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/global/ublogsyglobalnavigation.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_global_ublogsyglobalnavigation_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Global\uBlogsyGlobalNavigation.cshtml:line 6
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,366 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_App_Data_TEMP_Razor_inline_24b42bf912d736e1824806264535dc86_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-24b42bf912d736e1824806264535dc86.razor:line 17
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,367 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/widgets/ublogsywidgetsearch.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_widgets_ublogsywidgetsearch_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetSearch.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,367 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/widgets/ublogsywidgetshowrsslink.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_widgets_ublogsywidgetshowrsslink_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetShowRSSLink.cshtml:line 11
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,368 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListAuthors_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListAuthors.cshtml:line 9
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_App_Data_TEMP_Razor_inline_58fa887c5a0ef2b152c1425a79281647_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-58fa887c5a0ef2b152c1425a79281647.razor:line 1
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,369 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: ~/views/partials/ublogsy/widgets/ublogsywidgetlistlabels.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_views_partials_ublogsy_widgets_ublogsywidgetlistlabels_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListLabels.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,370 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListTags_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListTags.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_App_Data_TEMP_Razor_inline_1f5c04caed54854a8e758fff90378c77_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-1f5c04caed54854a8e758fff90378c77.razor:line 1
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,371 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListPosts_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListPosts.cshtml:line 18
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_App_Data_TEMP_Razor_inline_16070472b5ef69f166bdd6317a2f8cc2_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-16070472b5ef69f166bdd6317a2f8cc2.razor:line 1
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,371 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uCommentsy_Widgets_uCommentsyWidgetListComments_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uCommentsy\Widgets\uCommentsyWidgetListComments.cshtml:line 20
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_App_Data_TEMP_Razor_inline_d917e28c8821fe941c83197028bdc4b5_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-d917e28c8821fe941c83197028bdc4b5.razor:line 1
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,372 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListPostArchive_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListPostArchive.cshtml:line 18
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_App_Data_TEMP_Razor_inline_df87a81723eaed29b3e8041771ab2914_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-df87a81723eaed29b3e8041771ab2914.razor:line 1
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,373 [11] WARN umbraco.macro - [Thread 21] Error loading MacroEngine script (file: , Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListBlogRoll_cshtml.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListBlogRoll.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_App_Data_TEMP_Razor_inline_364d05178ab7a8269cd1c681ba115533_razor.Execute() in c:\_Programming\_disposable\_WebMatrix\EmptySite\App_Data\TEMP\Razor\inline-364d05178ab7a8269cd1c681ba115533.razor:line 1
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 10:33:46,739 [11] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 21] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at uBlogsy.WebForms.usercontrols.uCommentsy.Contact.OnLoad(EventArgs e) in D:\_PROJECTS\Personal\uBlogsy\uBlogsy Webforms\Source\uBlogsy.WebForms\usercontrols\uCommentsy\Contact.ascx.cs:line 61
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Problem 2:
Amazingly enough, everything worked fine on my 6.1.0 installation. I have tried to install clean 6.1.0, put uBlogsy on it - preview doesn't work. Ok this looks like a dead end, probably issue is not with umbraco version. I've tried to look into what's going wrong. I have a copy of this site on local machine, from now on I will refer to this site (Umbraco 6.1.6 running uBlogsy 3.0 beta; installing neither uBlogsy 3.0.2 nor just binaries of 3.0.2 doesn't seem to change things). I have a lot of clues that there's something wrong with cache in my case.
Shutdown site, delete all the contents of TEMP folder, run site. That's just cache, it should be fine, right? Static Page content is indeed fine: menu is ok, hierarchy is ok. Posts are not okay. They are gone from frontend. Let's try to hit every link mentioned in Publishing and republishing manual. Blogposts still don't appear on frontend. Only pressing Publish on every blogpost again will make them appear.
I've tried to understand why this is happening, and have noticed the difference. After deleting cache, I have pressed Publish on post named qwe1:
id 1659
parentID 1622
level 4
writerID 0
creatorID 0
nodeType 1152
template 1138
sortOrder 5
createDate 20131231111040000
updateDate 20131231111246000
nodeName qwe1
urlName qwe1
writerName admin
creatorName admin
nodeTypeAlias uBlogsyPost
path -1,1168,1487,1622,1659
uBlogsyContentBody qqq111
uBlogsyContentTitle qwe1
uBlogsyNavigationTitle 1
uBlogsyPostDate 2013-12-31T11:10:00
uBlogsyPostDisableComments 0
umbracoNaviHide 0
uBlogsySearchablePath -1 1168 1487 1622 1659
uBlogsySearchableYear 2013
uBlogsySearchableMonth 12
uBlogsySearchableDay 31
uBlogsySearchableTags
uBlogsySearchableTagIds
__NodeId 1659
__IndexType content
__Path -1,1168,1487,1622,1659
__NodeTypeAlias ublogsypost
__Raw_uBlogsyContentBody <p>qqq111</p>
__nodeName qwe1
And I have not done anything to post named asd2 (obviously, this post is not visible on homepage):
id 1660
parentID 1622
level 4
writerID 0
creatorID 0
nodeType 1152
template 1138
sortOrder 6
createDate 20131231111051000
updateDate 20131231111208000
nodeName 2
urlName 2
writerName admin
creatorName admin
nodeTypeAlias uBlogsyPost
path -1,1168,1487,1622,1660
uBlogsyContentBody aaa222
uBlogsyContentTitle asd2
uBlogsyNavigationTitle 2
uBlogsyPostDate 2013-12-31T11:10:00
uBlogsyPostDisableComments 0
umbracoNaviHide 0
__NodeId 1660
__IndexType content
__Path -1,1168,1487,1622,1660
__NodeTypeAlias ublogsypost
__Raw_uBlogsyContentBody <p>aaa222</p>
The difference is: post that was not published misses uBlogsySearchable- fields. Maybe that is the reason? I don't know. Code is using
var posts = PostService.Instance.GetPosts(...);
to get posts, which goes to
BaseSearchProvider searcher = ExamineManager.Instance.SearchProviderCollection["InternalSearcher"];
Tried to find aaaaanything that would be related to this indexer, maybe this code have something to do with problem?:
namespace uBlogsy.BusinessLogic.EventHandlers
{
public class UmbracoExamineEvents : IApplicationEventHandler, IApplicationStartupHandler
{
public void OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
if (!applicationContext.IsConfigured || !applicationContext.DatabaseContext.IsDatabaseConfigured)
return;
ExamineManager.Instance.IndexProviderCollection["InternalIndexer"].GatheringNodeData += new EventHandler<IndexingNodeDataEventArgs>(this.UmbracoExamineEvents_GatheringNodeData);
}
private void UmbracoExamineEvents_GatheringNodeData(object sender, IndexingNodeDataEventArgs e)
{
if (!(e.Fields["nodeTypeAlias"] == "uBlogsyPost"))
return;
e.Fields.Add(Examine.uBlogsySearchablePath, e.Fields["path"].Replace(",", " "));
string fromFieldOrProperty = ExamineIndexHelper.GetValueFromFieldOrProperty(e, Examine.uBlogsySearchableMonth, "uBlogsyPostDate");
Dictionary<string, string> fields1 = e.Fields;
string key1 = Examine.uBlogsySearchableYear;
DateTime dateTime = DateTime.Parse(fromFieldOrProperty);
string str1 = dateTime.Year.ToString();
fields1.Add(key1, str1);
Dictionary<string, string> fields2 = e.Fields;
string key2 = Examine.uBlogsySearchableMonth;
dateTime = DateTime.Parse(fromFieldOrProperty);
string str2 = dateTime.Month.ToString();
fields2.Add(key2, str2);
Dictionary<string, string> fields3 = e.Fields;
string key3 = Examine.uBlogsySearchableDay;
dateTime = DateTime.Parse(fromFieldOrProperty);
string str3 = dateTime.Day.ToString();
fields3.Add(key3, str3);
ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(e, Examine.uBlogsySearchableLabels, "uBlogsyPostLabels", "uBlogsyLabelName");
ExamineIndexHelper.AddIdsFromCsvProperty(e, Examine.uBlogsySearchableLabelIds, "uBlogsyPostLabels");
ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(e, Examine.uBlogsySearchableAuthor, "uBlogsyPostAuthor", "uBlogsyAuthorName");
ExamineIndexHelper.AddIdsFromCsvProperty(e, Examine.uBlogsySearchableAuthorIds, "uBlogsyPostAuthor");
ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(e, Examine.uBlogsySearchableTags, "uBlogsyPostTags", "uTagsyTagName");
ExamineIndexHelper.AddIdsFromCsvProperty(e, Examine.uBlogsySearchableTagIds, "uBlogsyPostTags");
}
}
}
Looks like it is adding uBlogsySearchable- on event .GatheringNodeData. Maybe this event is not happening on all available types of re-publish, just on manual 1-post Publish? Umbraco is too much of a black box to me to know better.
Nevermind my guess and train of thought if it is wrong, can you just please make posts appear all the time, like all other content in CMS does?
Problem 3:
I've been watching UmbracoTraceLog.txt file a lot, and I'm really scared or every error I'm getting there. My mindset is, in good application there should be no exceptions that happen to go up to Log, at least not in the normal workflow. If there is an error, it must be resolved asap.
Here is what I am getting logged after simply pressing F5 in http://localhost:20396/umbraco/umbraco.aspx#content, exactly same when clicking Create in context menu:
2013-12-31 11:36:37,880 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 16] An unhandled exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ClientDependency.Core.HttpContextBaseExtensions.GetClientCompression(HttpContextBase context)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.ProcessRequestInternal(HttpContextBase context, String fileset, ClientDependencyType type, Int32 version, Byte[] outputBytes)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-12-31 11:36:38,014 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 17] An unhandled exception occurred
System.ArgumentException: Could not parse the type set in the request
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Am I seriously ill, doctor?
This is what I get after creating a Post:
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor, aliasInNode:uBlogsyAuthorName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,289 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags, aliasInNode:uTagsyTagName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,290 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,290 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor, aliasInNode:uBlogsyAuthorName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,332 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,333 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,333 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags, aliasInNode:uTagsyTagName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,333 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,333 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor, aliasInNode:uBlogsyAuthorName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,334 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,335 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,335 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,335 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags, aliasInNode:uTagsyTagName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,335 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,335 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor, aliasInNode:uBlogsyAuthorName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags, aliasInNode:uTagsyTagName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:40:01,336 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:40:01,539 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 6] An unhandled exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ClientDependency.Core.HttpContextBaseExtensions.GetClientCompression(HttpContextBase context)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.ProcessRequestInternal(HttpContextBase context, String fileset, ClientDependencyType type, Int32 version, Byte[] outputBytes)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-12-31 11:40:01,657 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 10] An unhandled exception occurred
System.ArgumentException: Could not parse the type set in the request
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-12-31 11:40:02,291 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 6] An unhandled exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ClientDependency.Core.HttpContextBaseExtensions.GetClientCompression(HttpContextBase context)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.ProcessRequestInternal(HttpContextBase context, String fileset, ClientDependencyType type, Int32 version, Byte[] outputBytes)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-12-31 11:40:02,434 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 10] An unhandled exception occurred
System.ArgumentException: Could not parse the type set in the request
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-12-31 11:40:02,605 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 10] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x800703E3): The remote host closed the connection. The error code is 0x800703E3.
at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
at System.Web.HttpResponse.Flush()
at System.Web.HttpWriter.WriteFromStream(Byte[] data, Int32 offset, Int32 size)
at System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at umbraco.presentation.plugins.tinymce3.GzipCompressor.StreamFromTo(Stream in_stream, Stream out_stream, Int32 buff_size, CloseMode mode)
at umbraco.presentation.plugins.tinymce3.GzipCompressor.SendPlainText(String key, Stream to_stream)
at umbraco.presentation.plugins.tinymce3.GzipCompressor.Compress(Stream to_stream)
at umbraco.presentation.plugins.tinymce3.GzipModule.ProcessRequest(HttpContext context)
at umbraco.presentation.plugins.tinymce3.tinymce3tinymceCompress.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.umbraco_plugins_tinymce3_tinymce3tinymcecompress_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
How in the world do I even debug it? Is it normal thing to have?
At least you can see there's something uBlogsy-related here. Errors when indexing.
Indeed such fields are not filled for this post; but that doesn't sound like an ERROR to me, more like "I don't want to add tags right now".
So here's errors part of my tale. Please advice me from the height of your Umbraco experience.
Problem 4:
One more weird thing. Create Post, add content, save it. Preview it, get errors. Shut down website. Run website. Unpublished post is visible on homepage! Although it can not be opened (404).
Problem 5:
And the last thing, the one that started all this debugging and guessing days and nights I went through. Create Post, add content, save it. Preview it, get errors.
What kind of errors? This is what I get on Save:
2013-12-31 11:51:57,235 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:51:57,235 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:51:57,235 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:51:57,235 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:51:57,235 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:51:57,236 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthor, propertyAlias:uBlogsyPostAuthor, aliasInNode:uBlogsyAuthorName.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 31
2013-12-31 11:51:57,236 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 98
2013-12-31 11:51:57,236 [5] ERROR System.Exception - [Thread 10] During indexing luceneFieldName:uBlogsySearchableAuthorIds, propertyAlias:uBlogsyPostAuthor.
System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\ExamineIndexHelper.cs:line 66
2013-12-31 11:51:57,358 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 15] An unhandled exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ClientDependency.Core.HttpContextBaseExtensions.GetClientCompression(HttpContextBase context)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.ProcessRequestInternal(HttpContextBase context, String fileset, ClientDependencyType type, Int32 version, Byte[] outputBytes)
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-12-31 11:51:57,518 [5] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 14] An unhandled exception occurred
System.ArgumentException: Could not parse the type set in the request
at ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
And this is what I get on Preview:
2013-12-31 11:54:08,341 [5] WARN umbraco.macro - [Thread 22] Error loading MacroEngine script (file: /uBlogsy/uBlogsyGlobalSeoMeta.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_macroScripts_uBlogsy_uBlogsyGlobalSeoMeta_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\MacroScripts\uBlogsy\uBlogsyGlobalSeoMeta.cshtml:line 9
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 11:54:08,397 [5] WARN umbraco.macro - [Thread 22] Error loading MacroEngine script (file: /uBlogsy/uBlogsyPost.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at ASP._Page_macroScripts_uBlogsy_uBlogsyPost_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\MacroScripts\uBlogsy\uBlogsyPost.cshtml:line 7
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 11:54:08,401 [5] WARN umbraco.macro - [Thread 22] Error loading MacroEngine script (file: uCommerce/LeftNavigation.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListTags_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListTags.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_macroScripts_uCommerce_LeftNavigation_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\MacroScripts\uCommerce\LeftNavigation.cshtml:line 91
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 11:54:08,630 [5] WARN umbraco.macro - [Thread 15] Error loading MacroEngine script (file: /uBlogsy/uBlogsyGlobalSeoMeta.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_macroScripts_uBlogsy_uBlogsyGlobalSeoMeta_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\MacroScripts\uBlogsy\uBlogsyGlobalSeoMeta.cshtml:line 9
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 11:54:08,632 [5] WARN umbraco.macro - [Thread 15] Error loading MacroEngine script (file: /uBlogsy/uBlogsyPost.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_macroScripts_uBlogsy_uBlogsyPost_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\MacroScripts\uBlogsy\uBlogsyPost.cshtml:line 7
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
2013-12-31 11:54:08,635 [5] WARN umbraco.macro - [Thread 15] Error loading MacroEngine script (file: uCommerce/LeftNavigation.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__2(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.UmbracoHelper.TypedContent(Int32 id)
at uHelpsy.Helpers.IPublishedContentHelper.GetNode(Int32 nodeId) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IPublishedContentHelper.cs:line 24
at ASP._Page_Views_Partials_uBlogsy_Widgets_uBlogsyWidgetListTags_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\Views\Partials\uBlogsy\Widgets\uBlogsyWidgetListTags.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer)
at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)
at System.Web.WebPages.WebPageBase.Write(HelperResult result)
at ASP._Page_macroScripts_uCommerce_LeftNavigation_cshtml.Execute() in c:\_Programming\!Sites\_WebMatrix\stefantsov.com\stefantsov.com\MacroScripts\uCommerce\LeftNavigation.cshtml:line 91
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
Line 9 is:
var keywords = IPublishedContentHelper.GetNode((int)Model.Id).GetValueFirstOf(new[] { "uBlogsySeoKeywords" });
IPublishedContentHelper.GetNode(properId) throws this exception. You can see stack trace yourself. Do you think you know what can be causing this?
Problem 6 (bonus):
This one is not really a problem since I have found workaround, but it should not be this way anyway. Rightclick on Landing, Create, Post. It is not always created in 2013/December (I have disabled Days), it will be created right under Landing. This one is inconsistent: next time it will probably go under proper folder. I remember I have figured out it's exact algorithm, but I don't remember it now since it's not important. Now I just have a Month folder, where I click Create, Post. Your auto-positioning Post to right date folder works fine from there.
Final:
Overall, this stuff looks really messy and unreliable. And I really want to feel safe and ensured about my software. Please assist me in reaching this goal.
Every way you choose is good for me, you may use comments form right below, contact me via skype and email, or offer any other way that you think appropriate.
Thank you very much!