Existence and non existence of the ground state solution for the nonlinear Schroedinger equations with V(infty)=0