returnDataRows[i][0] = new String(String.valueOf(re.nextRecordId()));//get the 'rowID' value returnDataRows[i][1] = new String(readRecord(Integer.parseInt(returnDataRows[i][0])));//get the Name value //get an error when the pointer at the end of enumeration