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

Free Support Forum - aspose.com

MPP -> MPX Conversion IndexOutOfRangeException

sample.zip (726.1 KB)

Stack Trace:
at #=zI8yzF8QKpceQipuFmg0IB9oCf4xgZHpPZA==.#=zO_7SasV0xtaa(String #=ziwNx_VE=)
at #=zI8yzF8QKpceQipuFmg0IB9oCf4xgZHpPZA==.#=zFNha_Gc=(Duration #=zjHxUKoc=)
at #=zrT24_ETtsnNiS6FqhUVA8lADraVR.#=ztKMye5SFX752(Task #=zmJSlW00=, Int32 #=zQE49_9Q=, String #=zOAftxTrTshova$AepQ==)
at #=z2XTDBiWxfVlaxFAvOjdhwsxADwhc.#=zP84LhTY=(Task #=zmJSlW00=)
at #=z2XTDBiWxfVlaxFAvOjdhwsxADwhc.#=zteK2MfE=(IEnumerable1 #=zGE431_E=) at #=z2XTDBiWxfVlaxFAvOjdhwsxADwhc.#=zteK2MfE=() at #=z2XTDBiWxfVlaxFAvOjdhwsxADwhc.#=z4BtpZOk=() at #=z2XTDBiWxfVlaxFAvOjdhwsxADwhc.#=z4BtpZOk=(Project #=zU$Gl8ss=, Stream #=zPYF$cnk=) at #=zka4BIpq3VYKmiAC4zLqitdyo$9DE.#=zTJigbvU=(Stream #=zPYF$cnk=, SaveFileFormat #=zP2JBmqU=) at Aspose.Tasks.Project.Save(String filename, SaveFileFormat format) at Filestar.Plugin.AsposeTasks.ConvertSkill.<>c__DisplayClass0_0.<Run>b__0() in D:\a\1\s\Filestar.Plugin.AsposeTasks\ConvertSkill.cs:line 49 --- End of stack trace from previous location --- at Filestar.Plugin.AsposeTasks.ConvertSkill.<>c__DisplayClass0_0.<Run>b__0() in D:\a\1\s\Filestar.Plugin.AsposeTasks\ConvertSkill.cs:line 58 at Filestar.Plugin.AsposeTasks.Utils.<>c__DisplayClass0_0.<RunAbortable>b__1() in D:\a\1\s\Filestar.Plugin.AsposeTasks\Utils.cs:line 25 --- End of stack trace from previous location --- at Filestar.Plugin.AsposeTasks.Utils.RunAbortable(Action work, CancellationTokenSource cts) in D:\a\1\s\Filestar.Plugin.AsposeTasks\Utils.cs:line 43 at Filestar.Plugin.AsposeTasks.ConvertSkill.Run(SkillRequest request, IRunArguments arguments) in D:\a\1\s\Filestar.Plugin.AsposeTasks\ConvertSkill.cs:line 25 at Filestar.Core.AbstractRunner._ExecuteNode(AbstractSkillManifest manifestNode, SkillRequest skillRequest, Nullable1 recipeIndex, HashSet1 visitedFallbacks, String path, Int32 depth, Stack1 nodeIds, CancellationTokenSource cancellationTokenSource, IProgress`1 progress)
at Filestar.Core.AbstractRunner._ExecuteJob(Job job)

@nielsbosma,
we were able to reproduce the issue.
A ticket with ID TASKSNET-10745 has been created to resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

As a temporary workaround you can set

project.DisplayOptions.AddSpaceBeforeLabel = true;

before saving the project to MPX format.

1 Like

The issues you have found earlier (filed as TASKSNET-10745) have been fixed in this update.
Download link

1 Like