IT can also be caused by the cassette protector(pie holder)being caught and not allowing the freehub body to move freely.
The protector is a plastic piece that is behind the gears on your rear wheel, and it will connect to the spokes of the wheel.
http://chasecyclery.blogspot.com