Buffer underrun


#1

I have switched from Aspose.Powerpoint to Aspose.Slides. Now when attempting to open a presentation I get the following please help...

msennate

buffer underrun

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: ԛ.Ԛ+Ԡ: buffer underrun

Source Error:

Line 389:
Line 390:			// set up files and links to files
Line 391:			Aspose.Slides.Presentation part1 = new Aspose.Slides.Presentation (Server.MapPath ("~/data/slides/sl1775.ppt"));
Line 392:			PowerPoint.Presentation presOut;
Line 393:			PowerPoint.Slide		ppSlide;

Stack Trace:

[Ԡ: buffer underrun]
   ԛ.Ԛ.ReadFromStream(Stream stream, Int32 size) +91
   अ.ट.आ(Object ԭ, Stream इ) +77

[Exception: Error reading bytes]
अ.ट.आ(Object ԭ, Stream इ) +1255
अ.ट.FillFields(Byte[] data, Int32 size) +45
अ.ऊ…ctor(Object root, Int16 id, Int32 size, Byte[] data) +42
अ.ऄ.࣮(Object ԭ, Int16 Ժ, Int16 ई, Int32 ӫ, Byte[] ԅ, ग उ) +4857
अ.ऄ.आ(Object ԭ, Stream इ) +196
अ.ल.FillFields(Byte[] data, Int32 size) +58
अ.ऊ…ctor(Object root, Int16 id, Int32 size, Byte[] data) +42
अ.ऄ.࣮(Object ԭ, Int16 Ժ, Int16 ई, Int32 ӫ, Byte[] ԅ, ग उ) +492
अ.ऄ.आ(Object ԭ, Stream इ) +196
Aspose.Slides.Presentation.ਐ(෤ ਑) +1209
Aspose.Slides.Presentation…ctor(Stream stream) +343
Aspose.Slides.Presentation…ctor(String file) +41


#2

Could you attach example of such presentation in the forum or send it to me by email for testing?


#3

This is the actual file. The process is to split a presentation
into separate slide files. The code opens the presentation and splits
it into separate files, it fails when I try to open the attached file
later.


#4

I have 2 more questions:
1. How you split presentation? By removing or cloning slides?
2. I need info about source presentation. Does it have slide notes?


#5

The Slides are split by cloning and the source presentation does not
have slide notes however they are processed. So that if notes
exist they are copied.


#6

The problem has been found and fixed.
New hot fix will be available tomorrow.


#7

What will the version number be?


#8

Thanks, it is working great, excellent work guys…