Object Reference Not Set error on CustShip.BuildShipToCustomerList

Good Morning Fellow Epicor Land,

We are trying to create a customer shipment for an order and when we type in the order num we get the following error:

TargetInvocationException

Inner Exception:
Object reference not set to an instance of an object.
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.CustShipImpl.BuildShipToCustomerList(Int32 orderNum, String& shipToCustomerList)

I am testing out the BuildShipToCustomerList method in the BL tester and get the same error with that specific order number. Other orders for this customer are not failing on this method. The Ship to looks correct and I compared it to another ship to for the customer.

Anyone have any ideas on what the culprit could be?

Thanks! :slight_smile:

Looks like a release on the last line is missing the customer ID, how does that happen?

image

Task agent failed right as this order was going thru EDI demand processing