On an open problem of Ambrosetti, Brezis and Cerami