[#3811] Potential NullPointerException in Cursor.fetchOne(RecordMapper)
and other methods