Example

public class ClassA {
private volatile Object [] o;
public void methodA {
o=null;
//...
}

}
Solution Reconsider the use of the private volatile array field 'o'