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
115 stars 55 forks source link

Range error when scrolling pdf #141

Open thecodepapaya opened 7 months ago

thecodepapaya commented 7 months 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 6 months ago

Which version are you using?