Validations should work, but aren't?

There's nothing generic about a stack trace. Usually they pinpoint the
problem precisely. Why don't you post your stacktrace and give us
something to go on other than "it doesn't work"?