flutter_cached_pdfview icon indicating copy to clipboard operation
flutter_cached_pdfview copied to clipboard

Some Android phones fail to load heavier pdfs

Open sirajulhudalabs opened this issue 4 years ago • 1 comments

Describe the bug Issue reported on Firebase crashlytics

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.github.barteksc.pdfviewer.PdfFile.getPageAtOffset(float, float)' on a null object reference
       at com.github.barteksc.pdfviewer.DragPinchManager.checkLinkTapped(DragPinchManager.java:88)
       at com.github.barteksc.pdfviewer.DragPinchManager.onSingleTapConfirmed(DragPinchManager.java:69)
       at android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:300)
       at android.os.Handler.dispatchMessage(Handler.java:108)
       at android.os.Looper.loop(Looper.java:166)
       at android.app.ActivityThread.main(ActivityThread.java:7425)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

sirajulhudalabs avatar Mar 18 '21 03:03 sirajulhudalabs

please provide a sample of heavy pdf

binSaed avatar Mar 18 '21 07:03 binSaed