Copied to clipboard

Flag this post as spam?

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


  • Bo Jacobsen 308 posts 1360 karma points
    Oct 03, 2019 @ 08:06
    Bo Jacobsen
    0

    SEOChecker: Error running scheduled task

    Hi.

    I've had similar errors before in earlier versions of SeoChecker and Umbraco, but now it seems like it has comming back in Umbraco Cloud 8.1.5 and SeoChecker 2.8.2

    Do i maybe miss something in the web.config?

    Message:
    SEOChecker: SEOChecker: Error running scheduled task
    
    
    Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at System.Web.Hosting.IIS7WorkerRequest.GetQueryStringPtr(Int32& length)
       at System.Web.Hosting.IIS7WorkerRequest.GetQueryStringRawBytes()
       at System.Web.HttpRequest.get_QueryStringBytes()
       at System.Web.HttpRequest.get_QueryStringText()
       at System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor)
       at System.Web.HttpRequest.get_Url()
       at SEOChecker.Core.Umbraco.Context.ContextInfo.Initialize(HttpContext context, Boolean editMode)
       at SEOChecker.Core.Umbraco.Context.ContextInfo..ctor(HttpContext context)
       at SEOChecker.Core.Components.ValidationqueueComponent.TimerCallback(Object sender)
    
  • Michael Chart 3 posts 84 karma points
    Oct 23, 2019 @ 12:59
    Michael Chart
    0

    We are getting a similar error filling up the log. We are using Umbraco 8.1.4 and SeoChecker 2.8.2, not on Umbraco Cloud, but hosted on Azure.

    SEOChecker: SEOChecker: Error running scheduled task
    
    Exception:
    System.ArgumentException: Value does not fall within the expected range.
        at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
        at System.Web.Hosting.IIS7WorkerRequest.GetUserAgentInternal()
        at SEOChecker.Core.Umbraco.Context.ContextInfo.Initialize(HttpContext context, Boolean editMode)
        at SEOChecker.Core.Components.ValidationqueueComponent.TimerCallback(Object sender)
    

    Any idea what is causing these issues?

  • Arjan H. 134 posts 247 karma points
    Nov 05, 2019 @ 14:42
    Arjan H.
    0

    I'm getting the same errors on a new self-hosted Umbraco 8.2.0 website using SEOChecker 2.8.2. Did you find out what was causing the issue?

  • Michael Chart 3 posts 84 karma points
    Nov 05, 2019 @ 16:09
    Michael Chart
    0

    I haven't yet found a resolution. Perhaps @Richard can help us?

  • Giant Penguin 13 posts 82 karma points
    Nov 05, 2019 @ 18:31
    Giant Penguin
    0

    Today, the SEOchecker throws a new error:

    SEOChecker: SEOChecker: Error converting DB values to editor values

    Exception

    System.NullReferenceException: Object reference not set to an instance of an object. at SEOChecker.Core.Umbraco.DocumentWrappers.UmbracoDocument..ctor(IContent doc, IContextInfo info, String culture, String segment) at SEOChecker.Core.Repository.Umbraco.UmbracoDocumentRepository.Single(Int32 id, IContextInfo context, String culture, String segment) at SEOChecker.DataTypes.PropertyEditors.PropertyEditorWrappers.SEOCheckerPropertyWrapper.ToEditor(Property property, IDataTypeService dataTypeService, String culture, String segment)

  • Bo Jacobsen 308 posts 1360 karma points
    Nov 06, 2019 @ 07:31
    Bo Jacobsen
    0

    Hi Giant.

    I also have question about that here https://our.umbraco.com/packages/website-utilities/seo-checker/bugs/99114-error-converting-db-values-to-editor-values but i can't seem to find out what triggers it.

  • Richard Soeteman 3660 posts 11196 karma points MVP
    Nov 09, 2019 @ 11:25
    Richard Soeteman
    0

    Think this error is because of a missing HTTPContext, will check but hard to debug. Will come back to this.

    Best,

    Richard

  • Arjan H. 134 posts 247 karma points
    24 days ago
    Arjan H.
    0

    Hi Richard! Any news on this? This is what my Umbraco logs currently look like:

    enter image description here

    This error seems to interfere with SEOChecker's basic functionality. There are currently no 301 redirects being generated when renaming content and 'Track url history' enabled.

  • Richard Soeteman 3660 posts 11196 karma points MVP
    24 days ago
    Richard Soeteman
    0

    Hi Arjan,

    Unfortunatly not. Would love to debug this with some logging next week if possible?

    Best,

    Richard

  • Arjan H. 134 posts 247 karma points
    24 days ago
    Arjan H.
    0

    I'd be happy to help in any way I can. Let's schedule a Skype session some time next week so we can do some debugging. I'll send you an email to set something up.

  • Arjan H. 134 posts 247 karma points
    18 days ago
    Arjan H.
    0

    I just had a very productive Skype session with Richard. Richard managed to implement a hotfix for the 'Value does not fall within expected range' issue. I have deployed the hotfix to my production server and so far so good.

    You can download the patched dll's here: https://www.dropbox.com/s/rqjb7tmpnsft71r/seodll.rar?dl=0

    This patch will probably be included in release 2.9.0, but in the mean time you can use this hotfix. Just to be clear: I have applied the fix to version 2.8.2. The updated dll's should not affect any existing functionalities.

  • Bo Jacobsen 308 posts 1360 karma points
    1 week ago
    Bo Jacobsen
    0

    Hi Arjan.

    I tried to use the new dlls, it seems to remove the old errors, but now i get new errors.

    Message:
    Unhandled controller exception occurred for request '"https://www.xxx.dk/umbraco/backoffice/UmbracoApi/Content/GetById?id=2080"'
    
    
    Exception:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: Cannot find a content type  with alias 
       at SEOChecker.Core.Repository.Definition.DefinitionFactory.Single(String alias)
       at SEOChecker.Core.Config.Configuration.GetDocumentTypeByAlias(String alias, String doctypeAlias)
       at SEOChecker.Core.Config.Configuration.GetDocumentTypeByAlias(String alias)
       at SEOChecker.DataTypes.PropertyEditors.PropertyEditorWrappers.RobotsTxtPropertyWrapper.ToEditor(Property property, IDataTypeService dataTypeService, String culture, String segment)
       at Umbraco.Web.Models.Mapping.ContentPropertyBasicMapper`1.Map(Property property, TDestination dest, MapperContext context)
       at Umbraco.Web.Models.Mapping.ContentPropertyDisplayMapper.Map(Property originalProp, ContentPropertyDisplay dest, MapperContext context)
       at Umbraco.Web.Models.Mapping.ContentPropertyMapDefinition.Map(Property source, ContentPropertyDisplay target, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.<>c__DisplayClass8_0`2.<Define>b__1(Object source, Object target, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, Type sourceType, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.Map[TSource,TTarget](TSource source, MapperContext context)
       at Umbraco.Core.Mapping.MapperContext.Map[TSource,TTarget](TSource source)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Umbraco.Core.Mapping.MapperContext.MapEnumerable[TSourceElement,TTargetElement](IEnumerable`1 source)
       at Umbraco.Web.Models.Mapping.TabsAndPropertiesMapper.MapProperties(IContentBase content, List`1 properties, MapperContext context)
       at Umbraco.Web.Models.Mapping.TabsAndPropertiesMapper`1.Map(TSource source, MapperContext context)
       at Umbraco.Web.Models.Mapping.ContentMapDefinition.Map(IContent source, ContentVariantDisplay target, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.<>c__DisplayClass8_0`2.<Define>b__1(Object source, Object target, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, Type sourceType, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, MapperContext context)
       at Umbraco.Web.Models.Mapping.ContentVariantMapper.Map(IContent source, MapperContext context)
       at Umbraco.Web.Models.Mapping.ContentMapDefinition.Map(IContent source, ContentItemDisplay target, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.<>c__DisplayClass8_0`2.<Define>b__1(Object source, Object target, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, Type sourceType, MapperContext context)
       at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, MapperContext context)
       at Umbraco.Web.Editors.ContentController.MapToDisplay(IContent content)
       at Umbraco.Web.Editors.ContentController.GetById(Int32 id)
       at lambda_method(Closure , Object , Object[] )
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()
    
  • Bo Jacobsen 308 posts 1360 karma points
    1 week ago
    Bo Jacobsen
    0

    And this happen when i try to access newly created documents or try to create new documents.

Please Sign in or register to post replies

Write your reply to:

Draft