A variable name you used in the condition couldn’t be found among the local variables and method arguments. If you attempted to use a class member field, it won’t work. You should check the variable names in the condition, and use only local variables and method arguments.