Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dima Stefantsov 100 posts 225 karma points
    May 31, 2013 @ 02:33
    Dima Stefantsov
    0

    Bug after updating to 6.1.0

    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.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 02, 2013 @ 12:56
    Anthony Dang
    0

    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.

     

  • Tom 713 posts 954 karma points
    Jul 21, 2015 @ 13:30
    Tom
    0

    Hi Anthony, Just letting you know this, and utagsy are blowing up as well in 6.2

  • Tom 713 posts 954 karma points
    Jul 21, 2015 @ 23:26
    Tom
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft