Authorities say a state police bomb disposal unit had to be called to a northern New York school after a homemade explosive device was found in a student's gym locker, along with a machete and hunting knife.