Topic by albert hua
Content
Hi there,
I am trying to get the email address from the Contact table using queryObjects. I can get other information such as ID, name, etc. The code I am using is below:
String queryString = "SELECT Contact FROM Contact WHERE Contact.Login = 11111111;";
...
for(RNObject obj : rnObjects){
Contact contact = (Contact)obj;
Email[] emailArray = contact.getEmails().getEmailList(); //get nullpointexception
//firstName = contact.getName().getFirst();
}
Any ideas please?
Cheers,
AL
Image
Image may be NSFW.Clik here to view.
