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

Free Support Forum - aspose.com

ASPOSE Tasks 21.6.0.0 unable to read P6 file

Hello,

I receive an error: "‘System.StackOverflowException’ occurred in Aspose.Tasks.dll when loading the attached P6 XML (version 19.12).

                    Dim reader As PrimaveraXmlReader = New PrimaveraXmlReader(sFileName)

Dim listOfProjectUids As List(Of Int32) = reader.GetProjectUids()
If listOfProjectUids.Count > 1 Then
m_P6ProjList = New List(Of Integer)
Dim options As PrimaveraXmlReadingOptions = New PrimaveraXmlReadingOptions()
For i As Integer = 0 To listOfProjectUids.Count - 1
options.ProjectUid = listOfProjectUids(i)

	'Dies HERE on line "m_prjIOProject = New Project(sFileName, options)" on the third iteration

	m_prjIOProject = New Project(sFileName, options)

                            
Next

End If

What is the problem?

Thanks,

SeanRBPM-29-SEP-21.zip (228.8 KB)

@seanm555

We need to investigate the issue further on our end and a ticket with ID TASKSNET-10369 has been created 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