CANTON, Mass. (AP) — A train car loaded with lumber rolled from a side track onto a main line and hit a stationary commuter train during rush hour Tuesday afternoon, sending dozens of people to hospitals, authorities said.

About 150 people were treated at the scene, and about 80 of those were sent on to hospitals, said Lt. John Hutchinson of the Canton Fire Department. None of the injuries was life-threatening, he said.

The commuter train's locomotive was not moving when it was hit by a CSX freight car that rolled about 2 miles from where it had been parked at a lumber yard, said Joe Pesaturo, spokesman for the Massachusetts Bay Transportation Authority.

The commuter train's engineer was alerted by a track signal that something was on the line and was able to stop before the crash, Pesaturo said.