Copied to clipboard

Flag this post as spam?

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


  • Bradley Kronson 63 posts 114 karma points
    Dec 06, 2018 @ 04:07
    Bradley Kronson
    0

    Error when trying to open a tree item in Settings / Document Type Settings

    I'm getting the error below when trying to open a document type tree item in settings/document type settings. Any ideas?

    Unhandled controller exception occurred System.NullReferenceException: Object reference not set to an instance of an object. at SEOChecker.Core.Repository.Definition.Umbraco.UmbracoDefinition.GetChildren(String parentAlias) at SEOChecker.Trees.SEOCheckerTreeController.RenderSEOCheckerDefinitionSettings(FormDataCollection queryStrings, String parent) at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass10.9(Object instance, Object[] methodParameters) 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.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.

  • Bradley Kronson 63 posts 114 karma points
    Dec 06, 2018 @ 04:42
    Bradley Kronson
    0

    Not sure if this is related, seeing below when trying to surf to sitemap.xml

    Value cannot be null. Parameter name: Cannot find a content type with alias Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: Cannot find a content type with alias

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentNullException: Value cannot be null. Parameter name: Cannot find a content type with alias ] SEOChecker.Core.Repository.Definition.DefinitionFactory.Single(String alias) +329 SEOChecker.Core.Config.Configuration.(String , String ) +179 SEOChecker.Core.Config.Configuration.GetDocumentTypeByAlias(String alias) +13 SEOChecker.Handlers.HttpHandlers.XmlSitemapHandler.(HttpContext , List`1 , Int32 ) +93 SEOChecker.Handlers.HttpHandlers.XmlSitemapHandler.RenderXmlSiteMap(HttpContext context) +306 SEOChecker.Handlers.HttpHandlers.XmlSitemapHandler.ProcessRequest(HttpContext context) +203 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +498 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Dec 06, 2018 @ 07:22
    Richard Soeteman
    100

    Hi Bradley,

    I think that for some reason the seochecker.config file is missing in /app_plugins/seochecker/config/

    If you copy that from the seochecker package file all should be good.

    Hope this helps,

    Richard

  • Bradley Kronson 63 posts 114 karma points
    Dec 06, 2018 @ 07:43
    Bradley Kronson
    0

    Hi Richard

    The file was there, tried to replace it with one from the package file with no luck

    Any other ideas?

    Brad

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Dec 06, 2018 @ 07:51
    Richard Soeteman
    0

    Anything in the Umbraco log files?

  • Bradley Kronson 63 posts 114 karma points
    Dec 06, 2018 @ 08:07
    Bradley Kronson
    0

    Full errors replace all the angle brackets with square brackets

    2018-12-06 10:06:32,025 [P6348/D32/T390] ERROR SEOChecker.Trees.SEOCheckerTreeController - Unhandled controller exception occurred System.NullReferenceException: Object reference not set to an instance of an object. at SEOChecker.Core.Repository.Definition.Umbraco.UmbracoDefinition.GetChildren(String parentAlias) at SEOChecker.Trees.SEOCheckerTreeController.RenderSEOCheckerDefinitionSettings(FormDataCollection queryStrings, String parent) at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.[]cDisplayClass10.[GetExecutor]b9(Object instance, Object[] methodParameters) 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.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.[InvokeActionAsyncCore]d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[ExecuteActionFilterAsyncCore]d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[ExecuteActionFilterAsyncCore]d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[ExecuteActionFilterAsyncCore]d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[ExecuteActionFilterAsyncCore]d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.[CallOnActionExecutedAsync]d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.[ExecuteActionFilterAsyncCore]d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.[ExecuteAsync]d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.[ExecuteAuthorizationFilterAsyncCore]d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.[ExecuteAuthorizationFilterAsyncCore]d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.[ExecuteAuthorizationFilterAsyncCore]d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.[ExecuteAuthorizationFilterAsyncCore]d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.[ExecuteAsync]d0.MoveNext()

  • Bradley Kronson 63 posts 114 karma points
    Dec 06, 2018 @ 08:17
    Bradley Kronson
    0

    So in the tree below, I can't open Data, it generates the error, but compositions and nested content open fine

    enter image description here

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Dec 06, 2018 @ 08:51
    Richard Soeteman
    0

    Hi Bradley,

    Think there is a mismatch between config and document types in Umbraco, can you send me the config file ([email protected]) What version of Umbraco and SEOChecker are you using?

    Best,

    Richard

  • Arjan Woldring 124 posts 231 karma points
    Dec 13, 2018 @ 10:59
    Arjan Woldring
    0

    Hello Richard,

    I do have exactly the same problem. The same errors as Bradley.

    Upgraded from 1.10.4 to 2.2.1 (Umbraco 7.12.2)

    Help is very much appreciated!

    Cheers, Arjan

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Dec 13, 2018 @ 11:42
    Richard Soeteman
    1

    Oh sorry forgot to reply on this forum. The problem was related to _ in document type aliasses. Fixed in hotfix below

    https://www.dropbox.com/s/hrmxuyh1ceu4sbm/seo-checker22_2.zip?dl=0

    Hope this helps.

  • Arjan Woldring 124 posts 231 karma points
    Dec 13, 2018 @ 11:47
    Arjan Woldring
    0

    Thank you Richard! Will try the hotfix right away.

    edit: The hotfix solves this issue!

  • Bradley Kronson 63 posts 114 karma points
    Dec 13, 2018 @ 11:59
    Bradley Kronson
    0

    Thanks again Richard!

  • Emmanuel Ramanyimi 19 posts 90 karma points
    Aug 16, 2019 @ 09:58
    Emmanuel Ramanyimi
    0

    Hi Bradley,

    How did you fix these error?

    Best,

    Emmanuel

  • Bradley Kronson 63 posts 114 karma points
    Aug 16, 2019 @ 11:45
    Bradley Kronson
    0

    New version of SEO Checker fixed it

  • Emmanuel Ramanyimi 19 posts 90 karma points
    Aug 16, 2019 @ 13:50
    Emmanuel Ramanyimi
    0

    Thanks Bradley it works.

Please Sign in or register to post replies

Write your reply to:

Draft