Unable to create forms / no document tree on 4.4.0
Hey all,
I'm unable to get a new install of forms to work. The installer works fine, but when I click into the Forms section of the backend I get an immediate error.
Consequently, the 'Welcome to Forms' overlay shows up and I can actually click on the "Create a Form!" button to make my first form. After that, though, with no left-tree to use to navigate, I am unable to do anything else.
Any help would be greatly appreciated. I am using Umbraco 7.4.3 and installed Forms 4.4 manually via the ZIP file.
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.Trees.ApplicationTreeExtensions.<TryGetRootNodeFromControllerTree>d__4.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 Umbraco.Web.Trees.ApplicationTreeController.<GetRootForMultipleAppTree>d__12.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 Umbraco.Web.Trees.ApplicationTreeController.<GetApplicationTrees>d__4.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.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`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.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.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__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>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.<ExecuteActionFilterAsyncCore>d__0.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__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>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.<ExecuteActionFilterAsyncCore>d__0.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__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>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.<ExecuteActionFilterAsyncCore>d__0.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__2.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__2.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__1.MoveNext()
All of those entries are present in trees.config and seem to be in order.
A few more things I've tried/discovered since. The users section is similarly affected, as soon as I try to access either it or the forms section I get that error pane, but any other section remains accessible and fine.
We bought a license anyway thinking maybe it was a licensing issue and are still seeing this error. Not sure where to start, I can't seem to get visual studio to debug on anything. This is a real show stopper, any troubleshooting suggestions would be very much appreciated.
I think I managed to fix this, and it seems like an enormous gotcha to not have documented anywhere.
I'm using dependency injection for my application so I had to add this (using AutoFac since thats what the original documentation had examples for and suggestions)
Luckily Forms is available on Nuget, something I don't think I saw mentioned anywhere else(?) so I didn't have to do any weird shenanigans with adding it as a reference.
This makes everything load now, If there's any other issues or gotchas i'll report back.
Unable to create forms / no document tree on 4.4.0
Hey all,
I'm unable to get a new install of forms to work. The installer works fine, but when I click into the Forms section of the backend I get an immediate error.
Consequently, the 'Welcome to Forms' overlay shows up and I can actually click on the "Create a Form!" button to make my first form. After that, though, with no left-tree to use to navigate, I am unable to do anything else.
Any help would be greatly appreciated. I am using Umbraco 7.4.3 and installed Forms 4.4 manually via the ZIP file.
Hi Leo and welcome to our :-),
Sorry to hear that you have issues with Umbraco Forms. One thing to check when you say that you have no left-tree to use to navigate.
Can you please check how your tree.config in the /config folder looks like the check that you have these added.
Hope this helps,
/Dennis
All of those entries are present in trees.config and seem to be in order.
A few more things I've tried/discovered since. The users section is similarly affected, as soon as I try to access either it or the forms section I get that error pane, but any other section remains accessible and fine.
We bought a license anyway thinking maybe it was a licensing issue and are still seeing this error. Not sure where to start, I can't seem to get visual studio to debug on anything. This is a real show stopper, any troubleshooting suggestions would be very much appreciated.
I think I managed to fix this, and it seems like an enormous gotcha to not have documented anywhere.
I'm using dependency injection for my application so I had to add this (using AutoFac since thats what the original documentation had examples for and suggestions)
Luckily Forms is available on Nuget, something I don't think I saw mentioned anywhere else(?) so I didn't have to do any weird shenanigans with adding it as a reference.
This makes everything load now, If there's any other issues or gotchas i'll report back.
is working on a reply...