It happened to me a few times, but reverting to a save a couple minutes earlier pretty much cleared that up. Some people who have had problems have found Repair to be more reliable when the item is in inventory or on the ground, rather than equipped.
Do you have the latest
patch?