Oracle Error ORA-24166: evaluation context string.string has errors

Oracle Error Message

ORA-24166: evaluation context string.string has errors

Reason for the Error

cannot resolve the table aliases and the variable types specified in the evaluation context

Solution

make sure all base tables exist and all variable types correct