One person was in custody, the State Police said on social media. It was not clear what set off the attack.