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

Free Support Forum - aspose.com

Error importing mpp or xml

Does anyone know why this error is occurring?
I tested it in version 7.1 - 9.5 and 17.5.0 (jdk6)
In all this happens. It happens only with one file.

Caused by: class com.aspose.tasks.private.Exceptions.ArgumentException: element already exists
com.aspose.tasks.private.Collections.Generic.SortedList.a(Unknown Source)
com.aspose.tasks.private.Collections.Generic.SortedList.b(Unknown Source)
com.aspose.tasks.beb.k(Unknown Source)
com.aspose.tasks.beb.(Unknown Source)
com.aspose.tasks.bni.x(Unknown Source)
com.aspose.tasks.blz.c(Unknown Source)
com.aspose.tasks.bqz.q(Unknown Source)
com.aspose.tasks.bqz.a(Unknown Source)
com.aspose.tasks.cbf.a(Unknown Source)
com.aspose.tasks.Project.a(Unknown Source)
com.aspose.tasks.Project.(Unknown Source)
com.aspose.tasks.Project.(Unknown Source)


Please share the sample MPP/XML file with us for further investigation at our end. We will look into it for assisting you accordingly.

projeto.mpp.zip (309.6 KB)


Thank you for sharing the sample file. We were able to reproduce the problem at our end and it has been logged as TASKSNET-2090 for further investigation by our Product team. We’ll update you here once there is further information available in this regard.


This issue has been fixed in latest version of Aspose.Tasks for .NET 17.9. Please let us know if we can be of any additional help to you with respect to your queries related to API.