The fixed energy problem for a class of nonconvex singular Hamiltonian systems