System.OverflowException: TimeSpan overflowed because the duration is too long. 2023

sample.zip (859.2 KB)

System.OverflowException: TimeSpan overflowed because the duration is too long.
at System.TimeSpan.IntervalFromDoubleTicks(Double ticks)
at #=z7ta7w1Nda$WviN9OgEtdS2U0QfXLLVLjYg==.#=zgnF_a0zPwAN5(Project #=zAtxLDzU=, Double #=zIZ9i1yg=, TimeUnitType #=zi0GhTZ4=)
at Aspose.Tasks.Duration…ctor(Project #=zQRiHHgM=, Double #=zIZ9i1yg=, TimeUnitType #=zOM_RiOXxihc6, Boolean #=z6T1r0mp3pwFR)
at Aspose.Tasks.Duration…ctor(Project #=zQRiHHgM=, Double #=zIZ9i1yg=, TimeUnitType #=zOM_RiOXxihc6)
at #=zKmAyW_WKN9pIke_GCXQ6_11p0hfxszYR0w==.#=zz6ZelGw7FZMB(String #=zjnpnab0=, Project #=zQRiHHgM=)
at #=zcvJ7kwN6Z_4$JkQgDJNrfPhguCHcbfnMXQ==.#=z2hZgPNw=(Int32 #=zoMvni8MBz9y4, Project #=zQRiHHgM=)
at #=zsvTAYFDdizgkiDgiAVRUonwAj$pUM78QUHah6IE=.#=znXKyH8I=(#=zcvJ7kwN6Z_4$JkQgDJNrfPhguCHcbfnMXQ== #=ziMmjuP8=)
at #=zfEqGC3UqpKwFzRZuR98Dyrq_LkVJYcEXhSma7MW1vGga.#=z$YVOL08=()
at #=zfEqGC3UqpKwFzRZuR98Dyrq_LkVJYcEXhSma7MW1vGga.#=zDykKBFo=()
at #=zfEqGC3UqpKwFzRZuR98Dyrq_LkVJYcEXhSma7MW1vGga.#=znXKyH8I=()
at #=qY6FY7VoxjnQHT0Cc3_RZhRcgLIi0JWu2pvkX9phiJZ8=.#=zywKfk_HcrsdD$Rq6T_wWYE7LQmlN(Object #=zBEt5FaA=)
at #=qY6FY7VoxjnQHT0Cc3_RZhRcgLIi0JWu2pvkX9phiJZ8=.#=zrzofnMsC2Oo8j6gY1R83jhaQ94T1(MethodBase #=zBEt5FaA=, Boolean #=zrE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$L$7vDKXZJ3C(Stream #=zBEt5FaA=, String #=zrE9GDPU=, Object[] #=z8AXTSz8=)
at #=qY6FY7VoxjnQHT0Cc3_RZhRcgLIi0JWu2pvkX9phiJZ8=.#=z$6N_HL5irwWURohwwF6najoeDn7p(Stream #=zBEt5FaA=, String #=zrE9GDPU=, Object[] #=z8AXTSz8=)
at #=zfEqGC3UqpKwFzRZuR98Dyrq_LkVJYcEXhSma7MW1vGga.#=znXKyH8I=(Project #=zQRiHHgM=, Stream #=zpU$BRWM=, LoadOptions #=zgwnIoUSEzvk1, #=zoPKT5T4vW7DWeuN1urXCEN8= #=z0xTnDCE=)
at #=zE$osWMYVnNP3n3YsdIa6gM0=.#=znXKyH8I=(Stream #=zpU$BRWM=, Project #=zQRiHHgM=)
at Aspose.Tasks.Project.#=zV$0okXMzPzII(Stream #=zpU$BRWM=, LoadOptions #=zgwnIoUSEzvk1)
at Aspose.Tasks.Project…ctor(String projectTemplate, LoadOptions options)
at Filestar.Plugin.AsposeTasks.ConvertSkill.<>c__DisplayClass0_0.b__0() in D:\a\1\s\Filestar.Plugin.AsposeTasks\ConvertSkill.cs:line 31
— End of stack trace from previous location —
at Filestar.Plugin.AsposeTasks.ConvertSkill.<>c__DisplayClass0_0.b__0() in D:\a\1\s\Filestar.Plugin.AsposeTasks\ConvertSkill.cs:line 64
at Filestar.Plugin.AsposeTasks.Utils.<>c__DisplayClass0_0.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, IProgress1 progress)
at Filestar.Core.AbstractRunner._ExecuteJob(Job job)

@nielsbosma

We were able to reproduce the issue.
The problem is due to non-default decimal separator used in the file.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): TASKSNET-10829

You can obtain Paid Support if you need support on a priority basis, along with the direct access to our Paid Support management team.

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