System.Xml.Xsl.XslTransformException: An error occurred during a call to extension function 'GetSiteSettings'. See InnerException for a complete description of the error. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at ND.Aurecon.SitecoreExtension.ItemUtil.GetSiteSettings() in d:\dev\Sandboxes\Aurecon\aurecongroupsitecore\Source\ND.Aurecon\ND.Aurecon.SitecoreExtension\ItemUtil.cs:line 12
   at ND.Aurecon.SitecoreExtension.Util.XslHelper.GetSiteSettings() in d:\dev\Sandboxes\Aurecon\aurecongroupsitecore\Source\ND.Aurecon\ND.Aurecon.SitecoreExtension\Util\XslHelper.cs:line 275
   --- End of inner exception stack trace ---
   at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
   at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
   at <xsl:template match="*" mode="main">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
   at <xsl:template match="*">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
   at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results)
   at Mvp.Xml.Common.Xsl.MvpXslTransform.TransformToWriter(XmlInput defaultDocument, XsltArgumentList xsltArgs, XmlWriter xmlWriter)
   at Mvp.Xml.Common.Xsl.MvpXslTransform.Transform(XmlInput input, XsltArgumentList arguments, XmlOutput output)
   at Sitecore.Web.UI.WebControls.XslFile.DoRender(HtmlTextWriter output, Item item) Xsl file could not be processed: /xsl/Aurecon/RenderMetaData.xslt