GetOrderRelInfo BO error

Greetings!

I have a BO the GetOrderRelInfo object that is erroring out and returning a object not set to a reference of an object error. The dataset is complete and the order does have a release. Anyone have any tips on narrowing this down?

what are you doing/what is the error detail

1 Like

I’m troubleshooting a service connect workflow that a previous developer created. It basically takes in an order xml file to start and runs through various processes to mark the order as shipped and closed. Here is an overview of the work flow:

I have no idea why it would be unable to obtain the order release info.

ah service connect :face_vomiting: I thought it was maybe in the BL tester or in code.
Can you post the detail of the error though? That will give you more insight. When did it stop working/was there a change? in a SC workflow so many things can go wrong, so we need to narrow down possibilities.

These errors appear at random it seems like. There is no rhyme or reason. The 945 xml order file comes in complete. Here is the full error along with the datasets (you may want to copy into notepad++ and use xml pretty print to format it):

<?xml version="1.0" encoding="utf-16" standalone="yes"?>

<msg:req tag=“CustShip.Erp.Proxy.BO.CustShipImpl.GetOrderRelInfo”>
msg:ers
<msg:error type=“unexpected error”>
msg:number2147220990</msg:number>
msg:descriptionUnspecified error: Unknown fatal errors occurred: Failed execute proxy assembly: Failed execute proxy assembly:
Exception of type System.NullReferenceException: Object reference not set to an instance of an object.
</msg:description>
msg:sourceFailed execute proxy assembly: Failed execute proxy assembly:

Got it. You might want to remove that XML off this page since it contains customer information :wink:
So it happens at random but not always? almost sounds like a connectivity issue to me…

I agree, if its intermittent, I’d look into connectivity. You can set retries when trying to access BO’s or at a minimum put an error check path in to detect when a timeout occurs.

Thanks guys. We are hosted by EMS on their servers fully so I could have them check that. Also this is set to retry 10 times in 3 sec intervals. Hmmmmmm