Search In
Learn from 350 other Umbracians at the annual Umbraco Conference - CodeGarden '13. More than twenty high quality sessions, open spaces, hackathons and social events you'll remember. Not to be missed! Less than 45 tickets left - get yours now!
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?
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
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.