espresso3389 / pdfrx

pdfrx is yet another PDF viewer implementation that built on the top of pdfium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
MIT License
60 stars 36 forks source link

Range error when scrolling pdf #141

Open thecodepapaya opened 3 weeks ago

thecodepapaya commented 3 weeks ago

Getting the below error repeatedly when scrolling a pdf file on Android.

I/flutter (21743): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (21743): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter (21743): #0      List.[] (dart:core-patch/growable_array.dart:264:36)
I/flutter (21743): #1      _PdfPageTextOverlayState._initText (package:pdfrx/src/widgets/pdf_page_text_overlay.dart:72:34)
I/flutter (21743): <asynchronous suspension>
I/flutter (21743): ----------------------------------------------------
I/flutter (21743): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (21743): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter (21743): #0      List.[] (dart:core-patch/growable_array.dart:264:36)
I/flutter (21743): #1      _PdfPageTextOverlayState._initText (package:pdfrx/src/widgets/pdf_page_text_overlay.dart:72:34)
I/flutter (21743): <asynchronous suspension>
I/flutter (21743): ----------------------------------------------------
I/flutter (21743): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (21743): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter (21743): #0      List.[] (dart:core-patch/growable_array.dart:264:36)
I/flutter (21743): #1      _PdfPageTextOverlayState._initText (package:pdfrx/src/widgets/pdf_page_text_overlay.dart:72:34)
I/flutter (21743): <asynchronous suspension>
I/flutter (21743): ----------------------------------------------------
I/flutter (21743): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (21743): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter (21743): #0      List.[] (dart:core-patch/growable_array.dart:264:36)
I/flutter (21743): #1      _PdfPageTextOverlayState._initText (package:pdfrx/src/widgets/pdf_page_text_overlay.dart:72:34)
I/flutter (21743): <asynchronous suspension>
I/flutter (21743): ----------------------------------------------------
I/flutter (21743): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (21743): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter (21743): #0      List.[] (dart:core-patch/growable_array.dart:264:36)
I/flutter (21743): #1      _PdfPageTextOverlayState._initText (package:pdfrx/src/widgets/pdf_page_text_overlay.dart:72:34)
espresso3389 commented 2 weeks ago

Which version are you using?