Missing check on the value returned by ResultSet.next Low
You must check if the cursor pointing to the result of a database operation is positioned after the last row. If a check on the value returned by ResultSet.next is missing, subsequent database read operations can cause your application to crash.