Use ResultSet#next() insteadof using ResultSet#first().
As mentioned in Javadoc for ResultSet#first():
This method is called on a closed result set or the result set type is
TYPE_FORWARD_ONLY exception SQLFeatureNotSupportedException if the JDBC
driver does not support this method.
Bug: Issue 10018
Change-Id: Ica6c72f2d489520ae367b608867f5b8c6a5ef276