Insert OLE into Presentation Slide

Hi

I'm trying to insert an OLE object (.xlsx) file into presentation slide. However, getting Object Reference not set to an instance error. Please find below stack trace.

   at Syncfusion.OfficeChart.Compression.Zip.ZipArchive.Save(Stream outStream, Boolean createFilePath)
   at Syncfusion.Presentation.Presentation.SaveAsStream(Stream fileStream)
   at Syncfusion.Presentation.Presentation.<>c__DisplayClass160_0.<SaveAsyncInternal>b__0()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Syncfusion.Presentation.Presentation.<SaveAsyncInternal>d__160.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Syncfusion.Presentation.Presentation.<SaveAsync>d__159.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at DSA.Windows.Services.ConversionService.<downloadAsPPTX>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at DSA.Windows.Services.ConversionService.<SaveImagesForDownload>d__16.MoveNext()

Thanks
Deepak

1 Reply

KK Kumaravel Kulandai Samy Syncfusion Team October 25, 2017 12:37 PM UTC

Hi Deepak, 
We can reproduce the issue” Object reference not set to an instance of an object” in our end. We have attached the sample that we have tried to reproduce the issue in our end. Can you please confirm us whether the reproduced issue in our end is the same issue as you mentioned? 
Sample: 
Please let us know if you need any further assistance in this, 
Regards, 
Kumaravel.K 


Loader.
Up arrow icon