Elbow Joint "locks Up" -- Stops Rotating

I've seen this couple of times.. An elbow (or a knee) joint "locks up" stops rotating when in IK mode.
(the arm stays straight no matter where the ik handle is dragged.) t
Migh've been something i've done inadvertently, but can't seem to find it. (it was already working previously).
thanks!

Got it..
Inadvertently changed the preferred angle on the elbow joint. This caused the lock up.
thx,