Error when adapter is not present