2013-05-31 04:30:52,314 [47] WARN umbraco.macro - [Thread 33] Error loading MacroEngine script (file: /uBlogsy/uBlogsyGlobalSeoMeta.cshtml, Type: ''. Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at uHelpsy.Extensions.IPublishedContentExtensions.GetValueFirstOf(IPublishedContent d, String[] aliases) in D:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Extensions\IPublishedContentExtensions.cs:line 20
at ASP._Page_macroScripts_uBlogsy_uBlogsyGlobalSeoMeta_cshtml.Execute() in d:\hostingspaces\z163862\stefantsov.com\wwwroot\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)
Line9 is var keywords = IPublishedContentHelper.GetNode((int)Model.Id).GetValueFirstOf(new[] { "uBlogsySeoKeywords" });
This happens with unpublished node, when I press Preview button. When node is published, everything's fine.
Do you happen to have the source for 3.0.2 handy I couldn't find the release on bitbucket and wanted to try and fix areas in the PostService.Instance."GET STUFF" where it just blows up with null refs
Bug after updating to 6.1.0
Line9 is
var keywords = IPublishedContentHelper.GetNode((int)Model.Id).GetValueFirstOf(new[] { "uBlogsySeoKeywords" });
This happens with unpublished node, when I press Preview button. When node is published, everything's fine.
Sorry for the late reply. I've been super busy.
Did you find a solution to this? If so, I'd be happy to add it to the source.
Hi Anthony, Just letting you know this, and utagsy are blowing up as well in 6.2
Do you happen to have the source for 3.0.2 handy I couldn't find the release on bitbucket and wanted to try and fix areas in the PostService.Instance."GET STUFF" where it just blows up with null refs
is working on a reply...