Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!
Thanks for joining our community and helping improve Syncfusion products!
In Xamarin.Form UWP apps, SfPdfViewer crashes especially when we try to load a Form containing SfPdfViewer multiple times.
Following is the error information and Stack Trace.
Operation is not valid due to the current state of the object.
Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at Syncfusion.Pdf.Primitives.PdfDictionary.SaveItems(IPdfWriter writer)
at Syncfusion.Pdf.Primitives.PdfDictionary.Save(IPdfWriter writer, Boolean bRaiseEvent)
at Syncfusion.Pdf.Primitives.PdfDictionary.Save(IPdfWriter writer)
at Syncfusion.Pdf.IO.PdfCrossTable.DoSaveObject(IPdfPrimitive obj, PdfReference reference, PdfWriter writer)
at Syncfusion.Pdf.IO.PdfCrossTable.SaveIndirectObject(IPdfPrimitive obj, PdfWriter writer)
at Syncfusion.Pdf.IO.PdfCrossTable.SaveObjects(PdfWriter writer)
at Syncfusion.Pdf.IO.PdfCrossTable.Save(PdfWriter writer)
at Syncfusion.Pdf.Parsing.PdfLoadedDocument.AppendDocument(PdfWriter writer)
at Syncfusion.Pdf.Parsing.PdfLoadedDocument.Save(Stream stream)
at Syncfusion.SfPdfViewer.XForms.UWP.PdfDocumentView.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)