Casting error corrected

(String)fieldsValues.get(0) in AgentTable add