x First time here? Check out the FAQ

Come work for Umbraco - The Umbraco HQ are hiring Project managers, .NET developers and DevOps people!

  • Avatar1978posts7856karma
    adminCoreMVP

    Concierge Dependancy Check Error in Umbraco 4.7.1

    Jeavon Leopold started this topic November 26, 2011 @ 05:09

    I have noticed that clicking the dependancy checker in Concierge on a XSLT file is throwing an error in Umbraco 4.7.1 on a few (but not all) of our installs.

    Anyone else seen this? 


  • Jeavon Leopold posted this reply November 26, 2011 @ 05:10

    Stack trace is:

    [NullReferenceException: Object reference not set to an instance of an object.]
       Umbraco.Concierge.Businesslogic.Dependencies.Helpers.MacrosUsingFile(String file, String type) in d:\TeamCity\buildAgent\work\ae600be68c84b35e\Umbraco.Concierge V4\Businesslogic\Dependencis\Helpers.cs:145
       Umbraco.Concierge.Businesslogic.Dependencies.Helpers.LoadMacroFile(String file, String type) in d:\TeamCity\buildAgent\work\ae600be68c84b35e\Umbraco.Concierge V4\Businesslogic\Dependencis\Helpers.cs:92
       Umbraco.Concierge.plugins.Dependencies.Page_Load(Object sender, EventArgs e) in d:\TeamCity\buildAgent\work\ae600be68c84b35e\Umbraco.Concierge V4\plugins\Concierge\Dependencies.aspx.cs:41
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +18
       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063
    

  • Sam posted this reply December 2, 2011 @ 10:35

    I'm not sure if my resolution will solve yours but just throwing it out there.  I went through my macros and found a few using RAZOR script (cshtml extension). I changed them to random xslt files and the XSLT report started working.

    I then went back through those macros I modified and changed them back to RAZOR,  the XSLT Report continued to function.


Please login or Sign up To post replies