If null is not a reasonable value to return at that point, why is that code there in the first place? Eating exceptions, whether it be in
Java code or JavaScript, is rarely the correct thing to do.
Why not just let the exception propagate so you'll know when the problem occurs rather than polluting the database and wondering why later?
And, how is the null getting to the database after the server-side checks?
Does management need to be convinced to replace code that's just plain poor?
[Edit: bonk! it's amazing how alike Eric and I think...]