Aspose.Tasks crashing when opening Project file


#1

Hi Aspose team,

when trying to open Project file (very simple file) with Aspose.Tasks 18.8 I am getting following error:

Aspose.Tasks.TasksReadingException
HResult=0x80131600
Message=Project reading exception.
Source=Aspose.Tasks
StackTrace:
at . ​ (Project , Stream )
at .(Stream )
at Aspose.Tasks.Project.(Stream , ParseErrorCallback , PrimaveraXmlReadingOptions )
at Aspose.Tasks.Project…ctor(String projectTemplate, ParseErrorCallback parseErrorHandler)
at Aspose.Tasks.Project…ctor(String projectTemplate)
at AsposeTasks.AsposeTasks.OpenProject() in C:_Projects\Bugs\Aspose\0\Aspose.Bugs\Project.cs:line 42
at ReplaceTextInSinglePageOfPDF.Program.Main(String[] args) in C:_Projects\Bugs\Aspose\0\Aspose.Bugs\Program.cs:line 91

Inner Exception 1:
ArgumentException: An entry with the same key already exists.

Test project and file are attached.

Can you please investigate?

Thx,
Oliver

Aspose.Tasks.OpenFileIssue.zip (103.5 KB)


#2

Btw. it is working with 18.7.1


#3

@dr_oli,

We were able to reproduce the issue and have logged it as TASKSNET-2643 for further investigation at our end.We’ll update you here once there is some information or a fix version available in this regard.


#4

Hi,

as I see that this issue is resolved does that mean that fix will be available with next release of Tasks?

Thx,
Oliver


#5

@dr_oli,

Yes, the upcoming version of Aspose.Tasks for .NET 18.9 will include the fix for this issue. We’ll notify you here once it is available for download.


#6

The issues you have found earlier (filed as TASKSNET-2643) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by muhammadahmad