Start a new topic
Solved

Null exception on linklists

With a new database, all updated modules and all settings default in the admin, I add norwegian nb-NO to the electronics store. Then I browse to http://localhost:59788/nb-NO/


I will then get a null exception for each linklist on the page.

 

   ved VirtoCommerce.LiquidThemeEngine.Converters.LinkListConverter.ToShopifyModel(MenuLinkList storefrontModel, WorkContext workContext, IStorefrontUrlBuilder urlBuilder) i D:\Dev\Apps\VirtoStorefront\VirtoCommerce.LiquidThemeEngine\Converters\LinkListConverter.cs:linje 15
   ved VirtoCommerce.LiquidThemeEngine.Converters.ShopifyContextConverter.<>c__DisplayClass1_0.<ToShopifyModel>b__8(MenuLinkList x) i D:\Dev\Apps\VirtoStorefront\VirtoCommerce.LiquidThemeEngine\Converters\ShopifyContextConverter.cs:linje 82
   ved System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   ved System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   ved VirtoCommerce.LiquidThemeEngine.Objects.Linklists.BeforeMethod(String method) i D:\Dev\Apps\VirtoStorefront\VirtoCommerce.LiquidThemeEngine\Objects\Linklists.cs:linje 16
   ved DotLiquid.DropBase.InvokeDrop(Object name) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Drop.cs:linje 145
   ved DotLiquid.DropBase.get_Item(Object method) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Drop.cs:linje 96
   ved DotLiquid.Context.LookupAndEvaluate(Object obj, Object key) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Context.cs:linje 386
   ved DotLiquid.Context.Variable(String markup) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Context.cs:linje 324
   ved DotLiquid.Context.Resolve(String key) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Context.cs:linje 247
   ved DotLiquid.ForCondition.Evaluate(Context context) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Condition.cs:linje 173
   ved DotLiquid.Tags.For.<>c__DisplayClass9_0.<Render>b__0(Condition block) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Tags\For.cs:linje 115
   ved System.Collections.Generic.List`1.ForEach(Action`1 action)
   ved DotLiquid.Tags.For.Render(Context context, TextWriter result) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Tags\For.cs:linje 105
   ved DotLiquid.Block.<>c__DisplayClass15_0.<RenderAll>b__0(Object token) i C:\Work\Code\Git\dotliquid\src\DotLiquid\Block.cs:linje 137

 These exceptions will come both if I have the linklists for nb-NO and not.


:Sigve


The exception will come also if i browse to french, which I did not create myself.

Looks good. Thanks.

Login or Signup to post a comment