Exception reading specific project file

Using Aspose.Tasks 5.5, opening the attached project file will cause a TasksReadingException with an inner index out of range exception. Can you investigate why this is happening?


Aspose.Tasks.TasksReadingException : Project reading exception.
at .a.Read(Project , Stream ) at Aspose.Tasks.ProjectReader.Read(Stream stream) at Aspose.Tasks.ProjectReader.Read(String filename)
[Base Exception] System.IndexOutOfRangeException: Index was outside the bounds of the array. at ..‡(Byte[] , Int32 , Int32 ) at .›.Read(Calendar , Hashtable , Byte[] , Byte[] , ArrayList ) at ..() at .a.Read() at .a.Read(Project , Stream )

Repro code:

public void Test(string sourcePath)
{
try
{
var reader = new ProjectReader();
var project = reader.Read(sourcePath);
Console.WriteLine(“Opened project " + project.Name + " successfully”);
}
catch (Exception ex)
{
Console.WriteLine("Unable to load project file " + ex.GetType().Name + ": " + ex.Message);

}
}

Hi Barry,


I was able to reproduce this exception at my end using the latest version of Aspose.Tasks for .NET 5.5.0 and have logged it in our issue tracking system as TASKS-33364 for further investigation by our development team. We’ll notify you here once the issue is fixed and a fix version is available in this regard.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.