NullReferenceException while reading MPP file from a .Net application
Multi platform library to read and write schedule data
Brought to you by:
joniles
Hi,
I am trying to read a MPP file using following code
ProjectReader reader = ProjectReaderUtility.getProjectReader(filePath);
ProjectFile file = reader.read(filePath);
And
MPPReader reader = new MPPReader();
ProjectFile project = reader.read(filePath);
I am getting an NullReferenceException in second line for both code setup, and I can see reader and filePath both are not null.
Please help me to resolve the issue.
Warm Regards,
Debiprasanna Mishra
debi05@ymail.com
Hi, thanks for the report. Can you send me a sample MPP file please? Thanks!
Hi Jon IIes,
Please find attached MPP file for which I am getting the exception.
Warm Regards,
Debiprasanna Mishra
debi05@ymail.com
This works for me with the latest code on GitHub. Can you try your code with the latest release version of MPXJ (7.4.4)? Thanks!
True. For the version of MPXJ (7.4.4) I am also not getting any exception.
Thank you very much,
Debiprasanna