Is it comon to have muscle spasms near a fracture?

Yes. The spasm is nature's way to immobilize the fracture. They are very painful. They are sometimes like the common "charlie horse" and will respond to gentle stretching of the nearby joints. But do not remove splints or casts to move the joints, unless your physician says you should.