Error on Payment widget

We have a widget to link to our payment system (using CivicaPay PayLink) which we have proven works on a test service with the assistance of Athar (Netcall).
I’m now trying to implement this widget for the first time in a real situation and I’m getting an error

Payment Lines - adding to colPaymentLines: Object reference not set to an instance of an object

Any ideas on what this means and how I can fix it?
Thanks

Hi Cathy,

Generally speaking ‘Object Reference’ related errors are run time errors when you try to refer to a data item/variable which is null (Null Reference exception) or else if you are trying to refer to a variable which is not yet initialized.

The message “object reference not set to an instance of an object” means that you are referring to an object which does not exist or was deleted or cleaned up. If you’d like me to into your build please feel free to pm me and we shall post back the outcome here.

I hope it helps.

Regards,
Asif