Hi When I hit refresh on the main dashboard I get the following :
HtmlAgilityPack.1.4.9.5 is i the bin directory
{"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.
Hey Mark
So I updated from nuget and I still get. All my pages inherit from a master template that has a meta tag description. However I do have a sitemap that doesnt is that the issue?
{"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetResultFromAnalyzer(BaseAnalyzer baseAnalyzerInstance)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable`1 nodeCollection, Boolean useCache)\r\n at RankOne.Services.DashboardDataService.GetHierarchy(Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass10.9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at
Adding a meta description to the sitemap could solve it. The issue is caused because the plugin does make a wrong assumption in code. So adding a meta description to every page, could solve your problem
I ran into this issue as well, and your suggestion of making sure each page has a meta description tag did get around this, however, I had to remove my XmlSiteMap page in order to achieve it. The sitemap view was generating xml, so I couldn't add a meta description tag.
Is there a fix for this available? I'd like to be able to add my sitemap node back in.
Error on Refresh
Hi When I hit refresh on the main dashboard I get the following : HtmlAgilityPack.1.4.9.5 is i the bin directory
{"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable
1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable
1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary
2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.any suggestions on this??
Which version of RankOne is installed? I think this issue was fixed in the latest version of the package.
Hi Mark Rank one 0.3.8 and umbraco version 7.10.4.
Hi Lori,
I fixed this bug in the latest version I believe, this version is 1.0.0-beta.
If you don't want to upgrade you can check if the master template (or any templates with a head section) contains a meta description:
Hope this helps
Kind regards,
Mark
Hey Mark So I updated from nuget and I still get. All my pages inherit from a master template that has a meta tag description. However I do have a sitemap that doesnt is that the issue?
{"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable
1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetResultFromAnalyzer(BaseAnalyzer baseAnalyzerInstance)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable
1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable`1 nodeCollection, Boolean useCache)\r\n at RankOne.Services.DashboardDataService.GetHierarchy(Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass10.9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n atAdding a meta description to the sitemap could solve it. The issue is caused because the plugin does make a wrong assumption in code. So adding a meta description to every page, could solve your problem
Hi Mark,
I ran into this issue as well, and your suggestion of making sure each page has a meta description tag did get around this, however, I had to remove my XmlSiteMap page in order to achieve it. The sitemap view was generating xml, so I couldn't add a meta description tag. Is there a fix for this available? I'd like to be able to add my sitemap node back in.
is working on a reply...