ArgumentOutOfRangeException on write after cloning slide

The attached project reproduces an issue where, after cloning a slide from an input presentation into an output presentation, an ArgumentOutOfRangeException is thrown when calling Write on the output presentation.

Full exception detail:

System.ArgumentOutOfRangeException was unhandled
Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source=mscorlib
ParamName=index
StackTrace:
at System.Collections.ArrayList.get_Item(Int32 index)
at Aspose.Slides.PictureBullets.get_Item(Int32 index)
at Aspose.Slides.Presentation.a(IDictionary A_0)
at Aspose.Slides.Presentation.b(Boolean A_0)
at Aspose.Slides.Presentation.a(Boolean A_0)
at Aspose.Slides.Presentation.Write(Stream stream)
at AsposePPTIndexOutOfRange.Program.Main(String[] args) in C:\workspaces\SAVO\Scratch\kmillns\AsposePPTIndexOutOfRange\AsposePPTIndexOutOfRange\Program.cs:line 23
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

This is occurring with Aspose Slides 4.3.0

I look forward to your response,

Kyle Millns
kyle.millns@savogroup.com
Product Developer
SAVO

Dear Kyle,

I have worked with the project code shared by you and have been able to reproduce the issue as specified by you. The issue has already been added in our issue tracking system with issue ID 19750. This issue has also been resolved and I have requested our development team to share the ETA for the release of intermediate version of Aspose.Slides for .NET containing the fix for the issue. This thread has also been linked with the issue, so that you may be automatically notified, once the feature is made available online.

Thanks and Regards,

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(2)