the Husqvarnas are really picky about how you put the needle in. It must have the flat part of the shaft facing the back of the machine and be pushed well up.
If that is not the problem, have you shifted the position of the needle so it is sewing left or right of the needle. If you do this and do not have the correct foot on the machine, it will hit the foot and break.