Hi DW,
We have a 100% custom import running on one of our big sites, and last night it gave a completely new error that doesn't seem to come from errors in our code, but from something inside the API.
The error i got was this:
[NullReferenceException: Object reference not set to an instance of an object.] Dynamicweb.eCommerce.Products.Group.GetGroupByID(String groupID, String languageID) +97 DwEcomIntegration.App.Helper.getGroupByNumber(String number, String lang) in c:\GIT\Customer\DwEcomIntegration\DwEcomIntegration\App\Helper.cs:155 DwEcomIntegration.ImportExport.EgeMovexImportVarerV2.Open() in c:\GIT\Customer\DwEcomIntegration\DwEcomIntegration\ImportExport\MovexImportVarerV2.cs:106 Dynamicweb.Integration.Pipeline.Process() +280 Dynamicweb.Admin.PipelineRunner1.Page_Load(Object sender, EventArgs e) +826 System.Web.UI.Control.LoadRecursive() +70 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063
So something inside
Dynamicweb.eCommerce.Products.Group.GetGroupByID(String groupID, String languageID)
gave a null exception.
I know for a fact that the group and language combination parsed into the method when it failed, returns a product. So the method doesn't look in the database for the group.
Any ideas what could be wrong?
// Martin