~/site/Control/CatalogItemDetailControl.ascx has encountered a System.InvalidOperationException during the ThrowInvalidOperationException method. The error message is: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at Dovetail.Ecommerce.Process.Inventory.GetItemInventoryQuantities(Decimal& totalQty, String& unitLabel, String& displayString, String& warehouseToUse, String& preferredWarehouse, String& message, Int32 item_ID, Nullable`1 uomType, String LimitedAvailableMessage, String LimitedUnavailableMessage, String UnlimitedAvailableMessage, String UnlimitedUnavailableMessage)
at Dovetail.Ecommerce.Process.Inventory.BuildQuantityByWarehouseHtml(Int32 item_ID, String warehouseQuantityMessage, String limitedAvailableMessage, String limitedUnavailableMessage, String unlimitedAvailableMessage, String unlimitedUnavailableMessage)
at Dovetail.Ecommerce.Controls.CatalogOnHandQuantityDisplayControl.SetProperties()
at Dovetail.Ecommerce.Controls.CatalogOnHandQuantityDisplayControl.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at Dovetail.Ecommerce.Controls.CatalogItemDetailControl.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at Dovetail.Ecommerce.ControlBases.CyberStoreBaseControl.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at Dovetail.Ecommerce.Module.CyberstoreBasePage.CreateChildControls()