We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfPdfViewer crash on resize

Thread ID:





125335 Aug 9,2016 01:58 PM UTC Sep 26,2016 08:35 AM UTC UWP 3
Tags: SfPdfViewer
Asked On August 9, 2016 01:58 PM UTC

I've tried to create simple demo application with Pdf Viewer control, MVVM style via ItemSource binding, document successfully loaded, but application crashes every time I try to resize main window.





get{return_pdfFileStream; }



_pdfFileStream =value;

RaisePropertyChanged(() => DocumentStream);



private void LoadFile() {

Assemblyassembly =typeof(MainPage).GetTypeInfo().Assembly;

DocumentStream= assembly.GetManifestResourceStream("App2.Assets.Windows Store Apps Succinctly.pdf");



value cannot be null. Parameter name: crossTable

at Syncfusion.Pdf.Parsing.PdfLoadedPageCollection..ctor(PdfDocumentBase document, PdfCrossTable crossTable)

at Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_Pages()

at Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_PageCount()

at Syncfusion.Windows.PdfViewer.SfPdfViewerControl.LoadDocument(PdfLoadedDocument loadedDocument)

at Syncfusion.Windows.PdfViewer.SfPdfViewerControl.<SfPdfViewerControl_SizeChanged>d__36.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()

p.s.no crash if I loaded through PdfLoadedDocument ldoc and call pdf.LoadDocument(ldoc);

Akshaya Arivoli [Syncfusion]
Replied On August 11, 2016 09:37 AM UTC

Hi Sergey, 
Thank you for contacting Syncfusion support. 
We have created a new incident under your account for the issue “PDF Viewer crashes on resizing when the document is loaded as stream”. Please log on to our support website to check for further updates https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 
Please let us know if you need further assistance. 

Anastasios Moraitis
Replied On September 23, 2016 03:42 PM UTC

Hi sergey, what was the workaround for this bug? i have this problem, too...

Akshaya Arivoli [Syncfusion]
Replied On September 26, 2016 08:35 AM UTC

Hi Anastasios, 
Thank you for using Syncfusion products. 
We have fixed the issue “PDF Viewer crashes on resizing when the document is loaded as stream” and it will be included in our Essential Studio Volume 3, which is expected to be rolled out by the end of September 2016. 
Please let us know if you need further assistance. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon