Copied to clipboard

Flag this post as spam?

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


  • Brian Rush 25 posts 95 karma points
    Apr 13, 2017 @ 16:23
    Brian Rush
    0

    Footprint Error After Install

    I installed latest version of Footprint 1.4.2.1. I am also running the latest version of Umbraco version 7.5.11 assembly: 1.0.6274.27352

    After I installed tootprint and I try to open it in the admin I get the following. I suspect this may have something to do with the fact I am using dependency injection. do I need to register something in DI for Footprint?

    An error occured

    Object reference not set to an instance of an object. Exception Details System.NullReferenceException: Object reference not set to an instance of an object. Stacktrace

    at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromControllerTree(ApplicationTree appTree, String id, FormDataCollection formCollection, HttpControllerContext controllerContext)

    at Umbraco.Web.Trees.ApplicationTreeController.

    --- 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 Umbraco.Web.Trees.ApplicationTreeController.

    --- 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.Threading.Tasks.TaskHelpersExtensions.

    --- 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.

    --- 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.

    --- End of stack trace from previous location where exception was thrown ---

    at System.Web.Http.Filters.ActionFilterAttribute.

    --- 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.

    --- 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.

    --- End of stack trace from previous location where exception was thrown ---

    at System.Web.Http.Filters.ActionFilterAttribute.

    --- 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.

    --- 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.

    --- End of stack trace from previous location where exception was thrown ---

    at System.Web.Http.Filters.ActionFilterAttribute.

    --- 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.

    --- 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.

    --- 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.

    --- 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.

    --- 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.

  • Brian Rush 25 posts 95 karma points
    Apr 13, 2017 @ 19:22
    Brian Rush
    0

    BTW I did confirm that if I disable all of my dependency injection through autofac then footprint will load. The problem is that I need DI for other controllers in my solution. I am just not sure what I would need to register with autofact for Footprint. Any help is appreciated.

  • Brian Rush 25 posts 95 karma points
    Apr 13, 2017 @ 20:51
    Brian Rush
    0

    Well I found what I need to register

    builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.ActionController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.CurrentVisitorController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.DashboardController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.PropertyController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.PropertyEditorController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.QueryController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.SegmentController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.SegmentOperatorController).Assembly); builder.RegisterApiControllers(typeof(ncBehaviouralTargeting.Library.ApiControllers.SegmentUtilityController).Assembly);

    However the segment tabs are not showing on my content editors. I get the feeling this package is still very much beta. Looks really promising but I can't seem to get it to work. Unless anyone has any ideas around why segment tabs would not appear. I think I am going to have to take a different route.

Please Sign in or register to post replies

Write your reply to:

Draft