Why shouldn't it fail if the field name could not be determined? Maybe an exception is a bit too harsh, but it should at least emit a warning to the logger. Swallowing the error without any notice is not correct in my opinion.