The incident did not result in any injuries, the police said. The suspect has been charged with hate crimes.