Sometimes material gets trapped in the felt light trap of the film cartridge. Sometimes, but rarely, debris will get stuck on the pressure plate. Since this was a one time problem, it was a processing error or the light trap got some dirt.
Keep film in cans before and after exposure. Most roller transport lines pull film through the felt trap a second time. Keep your camera clean.