Skip to content

[syncfusion_flutter_pdfviewer] Cannot successfully read some PDF from network #49

Closed

Description

@claireliu14

════════════ Exception caught by widgets library ═════════════════
type '_PdfNull' is not a subtype of type '_PdfDictionary' in type cast
The relevant error-causing widget was:
SfPdfViewer file:///Users/claireliu/Desktop/meet_taipei_flutter/lib/page/intro/pdf_viewer_page.dart:15:23
═════════════════════════════════════════════════════

        SfPdfViewer.network(
            "https://osensetech.blob.core.windows.net/meettaipei/IC-07_poster.pdf",
            canShowScrollHead: false,
            canShowScrollStatus: false,
            canShowPaginationDialog: false,
            enableDoubleTapZooming: false,
            onDocumentLoadFailed: (detail) {
              print(detail.error);
            },
          );

Activity

  1. dillibabun commented on Nov 10, 2020

    @dillibabun

    Hi @claireliu14

    We have confirmed that the reported issue with "Type cast exception is thrown while accessing a bookmark instance of PDF document" is a defect. The issue fix will be included in our next weekly package release which is expected on 17 November 2020. The status of this issue can be tracked from the following feedback link.

    https://www.syncfusion.com/feedback/19606/bookmark-parsing-is-not-working-in-particular-pdf-document

    Regards,
    Dilli babu.

  2. claireliu14 commented on Nov 17, 2020

    @claireliu14
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions