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.

Detector ID
java/output-ignored-on-resultset-next@v1.0
Category
Common Weakness Enumeration (CWE) external icon