Crash Encountered After Updating to Syncfusion.Maui.PdfViewer v31.1.23

Hello Team,

After updating to Syncfusion.Maui.PdfViewer v31.1.23, we are experiencing a crash. Below is the stack trace.


Stack trace:
=============
Syncfusion.Pdf.PdfException : Fatal Error at 217.
    at Void Syncfusion.Pdf.IO.PdfLexer.YyError(YYError, Boolean)(Unknown Source)
    at Syncfusion.Pdf.IO.TokenType Syncfusion.Pdf.IO.PdfLexer.GetNextToken()(Unknown Source)
    at Void Syncfusion.Pdf.IO.PdfParser.Advance()(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.IO.PdfParser.ReadName()(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.IO.PdfParser.Simple()(Unknown Source)
    at Int64 Syncfusion.Pdf.IO.ObjectInformation.get_Offset()(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.IO.CrossTable.GetObject(Syncfusion.Pdf.Primitives.IPdfPrimitive)(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.IO.PdfCrossTable.GetObject(Syncfusion.Pdf.Primitives.IPdfPrimitive)(Unknown Source)
    at Int32 Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Index()(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.Primitives.PdfReferenceHolder.ObtainObject()(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.Primitives.PdfReferenceHolder.get_Object()(Unknown Source)
    at Syncfusion.Pdf.Primitives.IPdfPrimitive Syncfusion.Pdf.IO.PdfCrossTable.Dereference(Syncfusion.Pdf.Primitives.IPdfPrimitive)(Unknown Source)
    at Void Syncfusion.Pdf.PdfLoadedPage.CreateAnnotations(System.Collections.Generic.Dictionary`2[System.Int64,Syncfusion.Pdf.Primitives.IPdfPrimitive])(Unknown Source)
    at Syncfusion.Pdf.Parsing.PdfLoadedAnnotationCollection Syncfusion.Pdf.PdfLoadedPage.get_Annotations()(Unknown Source)
    at System.Collections.Generic.List`1[Syncfusion.Maui.PdfViewer.LinkView] Syncfusion.Maui.PdfViewer.AnnotationsLoader.GetLinkViews(Int32)(Unknown Source)
    at Void Syncfusion.Maui.PdfViewer.AnnotationsLoader.RenderLinkAnnotations(Syncfusion.Maui.PdfViewer.PdfPageView)(Unknown Source)
    at Void Syncfusion.Maui.PdfViewer.PdfPageView+<RenderContent>d__107.MoveNext()(Unknown Source)
    at Void System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()(Unknown Source)
    at Void System.Threading.Tasks.Task+<>c.<ThrowAsync>b__128_0(System.Object)(Unknown Source)
    at Void Foundation.NSAsyncSynchronizationContextDispatcher.Apply()(Unknown Source)
    at <Unknown Symbol>(Unknown Source)
    at Int32 UIKit.UIApplication.UIApplicationMain(Int32, System.String[], IntPtr, IntPtr)(Unknown Source)
    at Void UIKit.UIApplication.Main(System.String[], System.Type, System.Type)(Unknown Source)
    at Void Axos.Udb.Mobile.Program.Main(System.String[])(Unknown Source)

1 Reply

BS Bharathi Selvam Syncfusion Team November 14, 2025 03:04 PM UTC

Hi Jayant,

Thank you for reaching out.

We attempted to replicate the issue by loading a PDF with link annotations in version 31.1.23, based on the stack trace details you provided. However, we were unable to reproduce the reported issue, “PDF Viewer crashes when loading the PDF in version 31.2.3.”

We suspect that the problem might be specific to the document. Could you please share the PDF file where the issue occurs? Additionally, kindly confirm whether the issue persists in the latest version 31.2.10. If it still occurs, please provide the steps to replicate the issue so we can investigate further.

Regards,

Bharathi S


Loader.
Up arrow icon