Error-[NOA] Null object access

In reply to Rogers:

I see. The code fragments do not really help to resolve this issue.