Nodes not loaded in Asset Pane-gadget

Vote:
 

Having problems displaying the node/entry-tree from Commerce. The Commerce-api works fine on the site where I can search for products. Also, the productpicker-property works fine. But it's in the gadget in Asset pane does not work:

https://docs.google.com/file/d/0B1GzO91ZdUbzSXV4dTU2MVFOUFU/edit?usp=sharing


I can also se that I cet a NullReferenceException when CMS tries to load this url (found in firebug)

http://[MYSITE]/[EPI-UI]/commerce/Stores/commercestructure/?parentLink=-2147483647__CommerceContentProvider&marketId=[object%20Object]&typeIdentifiers=epi.cms.commerce.catalog&typeIdentifiers=epi.cms.commerce.catalognode&dojo.preventCache=1379517606028

EPiServer.Business.Commerce.ContentProviders.CommerceContentLoader.GetContent(ContentReference contentLink, IMarket market) +809 System.Linq.WhereSelectArrayIterator'2.MoveNext() +81 System.Collections.Generic.List'1.InsertRange(Int32 index, IEnumerable'1 collection) +551 EPiServer.Business.Commerce.ContentProviders.CommerceContentLoader.AddCatalogNodes(List'1 children, Int32 catalogId, Int32 catalogNodeId, IMarket market) +580 EPiServer.Business.Commerce.ContentProviders.CommerceContentLoader.GetCatalogNodes(ContentReference parentLink, IMarket market) +851 EPiServer.Business.Commerce.UI.Rest.CommerceStructureStore.GetCatalogStructure(String marketId, ContentReference parentLink) +398 EPiServer.Business.Commerce.UI.Rest.CommerceStructureStore.Get(ContentReference id, ContentReference parentLink, ContentReference activeSearchResultEntryContentLink, String query, ItemRange range, String marketId, String[] typeIdentifiers) +349 lambda_method(Closure , ControllerBase , Object[] ) +451 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary'2 parameters) +260 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary'2 parameters) +38 System.Web.Mvc.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10() +123 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList'1 filters, ActionDescriptor actionDescriptor, IDictionary'2 parameters) +308 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +854224 EPiServer.Shell.Services.Rest.RestControllerBase.ExecuteCore() +241 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +334 EPiServer.Shell.Services.Rest.RestHttpHandler.ProcessRequest(HttpContextBase httpContext) +274 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

#75153
Sep 18, 2013 17:22
Vote:
 
#75154
Sep 18, 2013 17:24
Vote:
 

Found the soultion here:

http://epiwiki.se/troubleshooting/episerver-commerce/errors

#75162
Sep 19, 2013 8:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.