Developer forum

Forum » Ecommerce - Standard features » Broken variants, object reference not set error.

Broken variants, object reference not set error.

Ambert van Unen

When creating a variant of a project I'm suddenly getting a 'Object reference not set to an instance of an object.' error.

Full error:

[NullReferenceException: Object reference not set to an instance of an object.]
   Dynamicweb.Caching.DictionaryCache`2.GetCacheResult(IEnumerable`1 keys) +214
   Dynamicweb.Caching.ServiceCache`2.GetCache(IEnumerable`1 keys) +142
   Dynamicweb.Ecommerce.VariantOptionService.GetByGroupAndLanguage(String languageId, String variantGroupId, Boolean showUntranslated) +230
   Dynamicweb.Admin.eComBackend._Closure$__._Lambda$__58-0(VariantGroup g) +13
   System.Linq.WhereListIterator`1.MoveNext() +80
   Dynamicweb.Admin.eComBackend.EcomProductVariants.ShowVariantCombinations() +434
   Dynamicweb.Admin.eComBackend.EcomProductVariants.ShowVariantGroupList() +3054
   Dynamicweb.Admin.eComBackend.EcomProductVariants.Page_Load(Object sender, EventArgs e) +825
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784

When selecting the specfic variant in the Ecommerce configuration i'm running into the same error.. 
Any tips on how to proceed?


Ambert van Unen

Fixed in 9.9.1


You must be logged in to post in the forum