Example
public
class
ClassA {
private boolean
b;
public void
methodA () {
synchronized
(
this
) {
notify();
}
}
}
Solution
Remove the synchronized block or change the object's state.