The attached MS Project file created in Project 2013 triggers the below exception while reading the file in MPXJ. The underlying cause appears to be that all of the calendars contained in the .MPP file are not being read successfully.
Caused by: java.lang.NullPointerException
at net.sf.mpxj.mpp.TimephasedDataFactory.getCompleteWork(TimephasedDataFactory.java:122)
at net.sf.mpxj.mpp.ResourceAssignmentFactory.process(ResourceAssignmentFactory.java:253)
at net.sf.mpxj.mpp.MPP14Reader.processAssignmentData(MPP14Reader.java:2208)
at net.sf.mpxj.mpp.MPP14Reader.process(MPP14Reader.java:176)
at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:131)
at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:78)
at net.sf.mpxj.reader.AbstractProjectReader.read(AbstractProjectReader.java:49)
...
I also encountered this issue.
This issue is related to issue #217 as in both cases the same error is reached.
And another thing: if the file is saved as MS Project 2007 then it is successfully read by MPXJ.
Colin, could you please increase the priority of this issue?
Thanks,
Tibi
Last edit: Tiberiu 2013-10-23
The 2007 file is read because it has no scheduled tasks manually, by default are automatic.