I'll need a few more details to be able to have an idea of the cause of the problem.
what extension are you using for adding validation? CSS Form Builder or Form Toolkit?
What are the exact steps you are taking to encounter this error? At what point does it occur? Opening the validation wizard? applying it?