Opening Crystal reports view in script code .. error message Object reference not set to an instance of an object

We have some custom code in our Customer Shipment Entry module. On the “lines detail” tab, we have a custom button that generates a custom “Print Customer Labels” form (UD02) table and then when the user clicks on the Print Labels button it prints the Customer barcode & shipping label. It works wonderful in E9, and it compiles successfully in E10 (VB code or C# code) I’ve tried both, but I keep getting the error message.
“Object reference not set to an instance of an object”. I’ve scoured the code numerous times, but am not able to figure out which object it is trying to call and is not finding.
It should be opening up Crystal reports (Crystal decisions must be in my Epicor folder and they are) … so I cannot not figure out what is going on.
Any thoughts?
Thanks in advance !! :slight_smile: