Just now I was thinking some thing is impossible to happen with the B4A code.
It is an old project I am maintaining from previous vendor.
The problem is a global variable (of a custom type) declared in a code module become null or undefined but it's value is displayed in a label.
Try adding try-catch, check string length, move the Type and variable to Main module, change the module name and many methods.
Lastly, I ask the user to restart the phone. Boom! Error resolved!