#vulnerable code 
                             @Override
	public void setPixels(Object pixels)
	{
		int[] position = Index.create(0, 0, getPlanePosition());
		
		setImagePlanePixels(this.imageData, position, pixels);
	} 
                            #location 4 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Override
	public void setPixels(Object pixels)
	{
		setImagePlanePixels(this.imageData, getPlanePosition(), pixels);
	}