Aspose.Tasks 21.5 is unable to read MPP file in 2016 format

java.lang.ExceptionInInitializerErrore[0K
at com.aspose.tasks.private_.ms.System.IO.o.(Unknown Source)
at com.aspose.tasks.private_.hs.d.(Unknown Source)
at com.aspose.tasks.private_.hs.d.a(Unknown Source)
at com.aspose.tasks.private_.hq.g.b(Unknown Source)
at com.aspose.tasks.private_.hq.g.(Unknown Source)
at com.aspose.tasks.private_.hq.g.(Unknown Source)
at com.aspose.tasks.private_.bf.d.(Unknown Source)
at com.aspose.tasks.private_.bc.j.(Unknown Source)
at com.aspose.tasks.amc.c(Unknown Source)
at com.aspose.tasks.amc.(Unknown Source)
at com.aspose.tasks.bgb.a(Unknown Source)
at com.aspose.tasks.bch.t(Unknown Source)
at com.aspose.tasks.bch.aa(Unknown Source)
at com.aspose.tasks.bch.r(Unknown Source)
at com.aspose.tasks.bch.a(Unknown Source)
at com.aspose.tasks.bch.a(Unknown Source)
at com.aspose.tasks.bqk.a(Unknown Source)
at com.aspose.tasks.Project.a(Unknown Source)
at com.aspose.tasks.Project.a(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1967) at com.aspose.tasks.private_.ms.System.ac.c(Unknown Source) at com.aspose.tasks.private_.ms.System.ac.a(Unknown Source) at com.aspose.tasks.private_.ms.System.ac.(Unknown Source)

Looks like Aspose is trying to find a particular string in the file which is not there.

Linux only.blankproject2016.zip (26.2 KB)

@isobretatel

It seems to be an issue and we need to investigate the issue further on our end. A ticket with ID TASKSJAVA-1529 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as TASKSJAVA-1529) have been fixed in this update.