Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I just installed Umbraco7 from nuget, open Umbraco and installed uCommerce, from the package repo. This was fine I looked a bit around and everything worked. Then I changed my Users login, created a document type and then a simple content node. I got a call and went for some coffee, got back and now uCommerce is broken?
Anyone know what might had happened?
Received an error from the server
Failed to retrieve data for application tree uCommerce
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at UCommerce.Umbraco7.Security.UmbracoUserService.GetUserInternal(String userName)
at UCommerce.Security.SecurityService.UserIsInRole(Role role)
at UCommerce.Security.Default.SecurityExtensions.CanCreateProductCatalogGroup(ISecurityService securityService)
at UCommerce.Umbraco7.Menu.LoadCatalog.CreateRootNode(XmlTreeNode& rootNode)
at Umbraco.Web.Trees.ApplicationTreeExtensions.TryGetRootXmlNodeFromLegacyTree(ApplicationTree appTree, FormDataCollection formCollection, UrlHelper urlHelper)
at Umbraco.Web.Trees.ApplicationTreeExtensions.TryGetRootNodeFromLegacyTree(ApplicationTree appTree, FormDataCollection formCollection, UrlHelper urlHelper, String currentSection)
--- 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)
I have tried to follow your steps.
1. Installing Umbraco7 from nuget
2. Open and install uCommerce
3. Looked around and edited the user login
4. Then went for some coffee (and wait for 15 minutes).
Unfortunately, I didn't managed to trigger the exception that you are.
I used umbraco 7.2.4 and uCommerce 6.6.3.
Therefore, I think that you have to try installing it again. To work through this problem.
Hopefully you've solved this issue by now. To whomever else may encounter this, read below:
I just had a very similar issue.
To resolve this - I simply had to log out and log back in.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted