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

Free Support Forum - aspose.com

Exception: Item has already been added. Key in dictionary: '0' Key being added: '0'

Here is the exception:
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at co.a(BaseSlideEx A_0)
at co…ctor(BaseSlideEx A_0)
at Aspose.Slides.Pptx.BaseSlideEx.AfterLoad()
at Aspose.Slides.Pptx.NotesSlideEx.AfterLoad()
at Aspose.Slides.Pptx.PresentationEx.a(q2 A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(Stream stream)

My code is as follows:
System.Drawing.Image pageImage = null;
PresentationEx doc = new PresentationEx( filestream );
SlideEx slide = doc.Slides[0];
if ( slide != null ) {
pageImage = slide.GetThumbnail( 1, 1 );
}

We keep getting the same exception for a lot of valid powerpoint files.
I’ve attached a url to a sample powerpoint causing the issue.

Hi,

This exception is raised because of certain placeholders. The issue has already been registered as 10905. You will be informed as soon as it is fixed (hopefully in the upcoming release).

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


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