Exception during Save PPTX

Hello,


Following code (open-save):
Aspose.Slides.Pptx.PresentationEx p = new Aspose.Slides.Pptx.PresentationEx(textBox1.Text);
p.Save(“c:\temp\123.pptx”, Aspose.Slides.Export.SaveFormat.Pptx);

Throws exception:
at System.Xml.XmlNode.RemoveChild(XmlNode oldChild)
at System.Xml.XmlNode.ReplaceChild(XmlNode newChild, XmlNode oldChild)
at sq.a(h7 A_0)
at by.e()
at h7.e()
at h7.e()
at h7.e()
at h7.e()
at rt.e()
at Aspose.Slides.Pptx.PresentationEx.a(ng A_0, fz A_1, Hashtable A_2)
at Aspose.Slides.Pptx.PresentationEx.a(ng A_0, fz A_1, Hashtable A_2)
at Aspose.Slides.Pptx.PresentationEx.a(py A_0)
at Aspose.Slides.Pptx.PresentationEx.Write(Stream stream)
at Aspose.Slides.Pptx.PresentationEx.Save(Stream stream, SaveFormat format, SaveOptions options)
at Aspose.Slides.Pptx.PresentationEx.Save(String fname, SaveFormat format)
at AsposeTest.Form1.button2_Click(Object sender, EventArgs e) in C:\Dev\Src\trunk\AsposeTest\Form1.cs:line 32

Pptx attached. Thanks.

Hello,


Following code:
Aspose.Slides.Presentation p = new Aspose.Slides.Presentation(textBox1.Text);
p.Save(“c:\temp\123.ppt”, Aspose.Slides.Export.SaveFormat.Ppt);

Exception:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
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 Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, SaveOptions options)
at Aspose.Slides.Presentation.Save(String fname, SaveFormat format)
at AsposeTest.Form1.button2_Click(Object sender, EventArgs e) in C:\Dev\Src\trunk\AsposeTest\Form1.cs:line 35

Presentation attached. Thanks.

Dear Igor,

I have been able to obtain the same exception as as specified by while saving the presentation file and it seems to be an inconsistency in Aspose.Slides for .NET. An issue with ID 21321 has been added in our issue tracking system to further investigate and resolve the problem. This thread has also been linked with the issue, so that you may be automatically notified, once the issue is resolved.

We are sorry for your inconvenience,

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


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