Oracle Error Message
PLS-00249: Invalid WITH CONTEXT Syntax
Reason for the Error
CONTEXT was used in a WITH CONTEXT or a PARAMETERS clause. This is invalid.
Solution
Check if WITH CONTEXT is used without specifying CONTEXT in the PARAMETERS clause or vice versa. The PARAMETERS clause must be complete. Thus if WITH CONTEXT is specified, then CONTEXT must be referenced in the PARAMETERS clause (if there is one).