,
I’m a bit confused. Are you still experiencing this error or have you resolved it on your end? If you are still experiencing this error, have you checked to ensure that you are populating the reference before checking against a NULL value? How are you populating it?