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 50 posts 101 karma points
    5 days ago
    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 50 posts 101 karma points
    5 days ago
    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 3469 posts 10324 karma points MVP
    5 days ago
    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 50 posts 101 karma points
    5 days ago
    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 3469 posts 10324 karma points MVP
    5 days ago
    Richard Soeteman
    0

    Anything in the Umbraco log files?

  • Bradley Kronson 50 posts 101 karma points
    5 days ago
    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 50 posts 101 karma points
    5 days ago
    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 3469 posts 10324 karma points MVP
    5 days ago
    Richard Soeteman
    0

    Hi Bradley,

    Think there is a mismatch between config and document types in Umbraco, can you send me the config file (support@soetemansoftware.nl) What version of Umbraco and SEOChecker are you using?

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft