I am trying to extract the basic task and resource information from an MS Project 2010 .mpp file using MPXJ - Java. I have no problem opening up the file and dumping all the tasks, but the problem comes in when trying to access the resources assigned to the task. I am calling Task.GetResourceNames(), but it is returning null everytime. I have also tried calling Task.GetResourceAssignments(), but this also returns null everytime.
I created a very, very simple project with one summary task, three subtasks, linked together, and had a different resource assigned to each one of these.
When I run my program, I see all the tasks, but the call to GetResourceNames() still returns null.
Am I going at this through the wrong interface?