I just recently started to see this error popping up in my error log:
Warn | Error obtaining rate quote for shipping method 'UPS 2nd Day Air®'. | Object reference not set to an instance of an object.
After looking at the log file the errors seems to be coming from a CommerceBuilder method:'
WARN 2008-11-12 11:17:11,723 11523638ms Object a - Error obtaining rate quote for shipping method 'UPS 3-Day Select®'.
System.NullReferenceException: Object reference not set to an instance of an object.
at CommerceBuilder.Shipping.Providers.UPS.UPS.GetProviderUnits(Country originCountry)
at CommerceBuilder.Shipping.Providers.UPS.UPS.PreparePackages(Warehouse origin, BasketItemCollection contents)
at CommerceBuilder.Shipping.Providers.UPS.UPS.GetAllProviderShipRateQuotes(Warehouse origin, Address destination, BasketItemCollection contents)
at CommerceBuilder.Shipping.Providers.UPS.UPS.GetShipRateQuote(Warehouse origin, Address destination, BasketItemCollection contents, String serviceCode)
at CommerceBuilder.Shipping.Providers.ShippingProviderBase.GetShipRateQuote(IShipment shipment, String serviceCode)
at CommerceBuilder.Shipping.ShipMethod.GetShipRateQuote(IShipment shipment)
I am getting the same error with UPS Next Day Air and UPS 3rd Day Air which are the methods that we offer. The error occurs every time shipping is calculated. Any ideas on where to start?