We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

[Java/MSP2016] Problem when opening/saving MPP 2016 file

Test_msp2016.zip (141.6 KB)

Hi,

When loading and immediately saving the attached file Test_msp2016.mpp with Aspose Java, the file gets corrupted and all task names disappear (result in file Test_msp2016_aspose.mpp).

Java code:

Project asProject = new Project("c:\\temp\\Test_msp2016.mpp");

System.out.println("MPP file loaded.");

asProject.save("c:\\temp\\Test_msp2016_aspose.mpp", SaveFileFormat.MPP);

FYI, the MPP file is in MSP 2016 format.

Is there any problem with the file or is it an Aspose Tasks Java issue?

Thanks!

@Jay614,

Thank you for writing to Aspose support team.

I have checked the scenario using Aspose.Tasks for Java 18.4.0 but could not re-produce the issue. The saved MPP file contains proper task names as shown in the attached MPP file. Please give your code a try using latest library version and share the feedback.

Test_msp2016_asposeJava18.4.zip (80.3 KB)

Hi Kashif,

You’re correct, issue occured with Aspose Java 17.11, but upgrading to the latest version fixed the issue. Thanks a lot!

@Jay614,

Good to know that the issue no more occurs with the latest version of the API. Please feel free to write to us in case of any further query in this regard.