A case in Atlantic City, N.J., shows what kind of malpractice disputes can arise when lawyers serve as officers in small companies in turmoil.

The principal owner of a condominium apartment building is pursuing a malpractice suit against a New York lawyer who was the company’s chief operating officer and part-time general counsel.