Fix ObjectUtils exception handling