Hi Dynamicweb,
I would be very nice if you in Assortment.Rebuild() could check if the product or the group exists before trying to access the properties as it causes not reference exceptions - this is especially an issue when working with integrated solutions where data is not from Dynamicweb.
Best regards, Anders