ExceptionMessage
:
"Object reference not set to an instance of an object."
ExceptionType
:
"System.NullReferenceException"
Message
:
"An error has occurred."
StackTrace
:
" at Umbraco.Web.Trees.ApplicationTreeExtensions.
I get the same if I install another package "Our.Umbraco.AzureLogger", though as that is an older package I couldn't say if I expect it to work with this version of Umbraco.
Not sure if there is an issue with the latest Umbraco release or with the package(s).
Has anyone else had this issue?
Worth noting, I have tried installing via nuget & also from within the backoffice, same result for both..
Looks like it's actually a borked install of Umbraco somehow.
I have had to create a new solution and Forms & other plugins are now installing as expected. I had tried putting files over the top of my existing solution and merging changes in, but to no avail.
This is the quickest way around the issue for now..
In my case (yes,, I know I should have updated this a long time ago..), it actually turned out to be badly configured Autofac or LightInject (I forget which now, I think I was trying out both..). Once removed, the backoffice came back to life. I seem to remember I was trialling using an Umbraco package for IOC and was not registering something the correct way.
This may have no bearing on why you're having issues.. You never know, could be the same thing!
Umbraco Forms killing BackOffice after install
Hey Guys,
I have started a new project on Umbraco 7.10.4 and seem unable to install Umbraco Forms without it killing the backoffice. I end up with a 500 error on http://localhost:63423/umbraco/backoffice/UmbracoApi/Section/GetSections
I get the same if I install another package "Our.Umbraco.AzureLogger", though as that is an older package I couldn't say if I expect it to work with this version of Umbraco.
Not sure if there is an issue with the latest Umbraco release or with the package(s).
Has anyone else had this issue?
Worth noting, I have tried installing via nuget & also from within the backoffice, same result for both..
Thanks..
Mark
Looks like it's actually a borked install of Umbraco somehow.
I have had to create a new solution and Forms & other plugins are now installing as expected. I had tried putting files over the top of my existing solution and merging changes in, but to no avail.
This is the quickest way around the issue for now..
Oh well!
Anyone found out what the issue is? Also getting this in Umbraco 7.10.5 and Umbraco Forms 7.0.5.
@Dan,
In my case (yes,, I know I should have updated this a long time ago..), it actually turned out to be badly configured Autofac or LightInject (I forget which now, I think I was trying out both..). Once removed, the backoffice came back to life. I seem to remember I was trialling using an Umbraco package for IOC and was not registering something the correct way.
This may have no bearing on why you're having issues.. You never know, could be the same thing!
Mark
@Mark you're spot on. It was AutoFac config.
Adding the following two lines sorted for me.
builder.RegisterControllers(typeof(UmbracoFormsController).Assembly, typeof(Startup).Assembly).PropertiesAutowired(); builder.RegisterApiControllers(typeof(UmbracoFormsController).Assembly, typeof(Startup).Assembly);
Excellent stuff, glad that helped!
Mark
is working on a reply...