Fulfillment Workbench Error : Object reference not set to an instance of an object

I’m getting this error in fulfillment workbench when trying to reserve and allocate sales orders to the demand warehouse. I’ve not been able to find the root cause of the issue in able to recreate it.
It is anyone else having this type of error?

Thanks.

Application Error

Exception caught in: Epicor.ServiceModel

## Error Detail ##
============
##!Message:##! Object reference not set to an instance of an object.
##!Program:##! Epicor.ServiceModel.dll
##!Method:##! CallWithCommunicationFailureRetry

## Client Stack Trace ##
==================
   at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer)
   at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
   at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
   at Erp.Proxy.BO.OrderAllocImpl.AutoReserve(SlimOrderAllocDataSet ds, String cIPWhseList, String cWhseType, String& cMessageText)
   at Erp.Adapters.OrderAllocAdapter.AutoReserve(String cIPWhseList, String cWhseType, String& cMessageText)

Do you have a Method Directive on OrderAlloc? The trace seems to fail there. If an object wasn’t assigned and you access it, you will get this error.

1 Like

“CallWithMultistepBpmHandling”…does that give it away?

1 Like

@Mark_Wonsil - I do not have any BPMs associated with OrderAlloc.AutoReserve.

Do you have any Data Directives involving any table related to Order Allocation?

And do you have any BPMs on any method of the OrderAlloc business object?

1 Like

I just checked and we don’t have any data directives that use that table either.

If there are no directives on this object or any of the tables related to it then you probably have a data issue. This error means a variable is being accessed but it was not assigned a value first.

Does it happen on every order? Every time or sporadically. Can you run a trace and see how far it gets? You may need Epicor’s help and that would be helpful for them.

1 Like

Oh, Steven, I forgot to ask since I try not to do data access in customizations, is there a customization on this screen?

There are no customizations on the screen either.

~WRD000.jpg

Alright, if there are no directives on any methods or tables related to Fulfillment WB and there are no screen customizations, this is an Epicor issue and the only path forward is EpicCare. I can only assume there is a null in a field that Epicor is trying to access and it can’t move forward.

Mark,

Thanks for your help

1 Like