Fixed the CannotCreateHashException exception class