Erp.Adapters.SubConShipEntry adapter fails on DeleteByID method

Epicor 10.1.400.18 Fails with a null exception error. The PackSlip exist and the PackNum is valid. A manual trace shows the system using the DeleteByID(PackNum) method without problems. Any ideas? Work around?

without seeing the code my initial thought is that the variable PackSlip is not getting set to a valid number. I have had a few issues that this error gets thrown and it has nothing to do with that line it is something else i.e. adapter not getting set correctly or variable not having valid data. If you show the code I can take another look.