A c-treeACE JDBC application that worked properly with earlier FairCom RTG releases simply looping through a resultset failed with error code 26046 calling getWarning() after fetching the last row. Recent modifications to the c-treeACE JDBC driver introduced this problem, which has been now solved.