Added a check on the parameters of different expressions to fail if it receives null arguments.
Added a check for the text field expressions to avoid fields that do not belong to the class indicated.