java.sql.SQLException: Illegal operation on empty result set.108944