PDFViewer3.8beta4 ViewPager crush issue - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: PDFViewer3.8beta4 ViewPager crush issue

PDFViewer3.8beta4 ViewPager crush issue 2 years 3 months ago #11051

  • yuaner
  • yuaner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi,

We're using the newest library PDFViewer3.8beta4 and it crushes when doing like below:
  1. tap [ViewPager] button
  2. tap back key immediately
The sample application almost 100% crushes.
Here is the crush log.
08-23 19:53:40.198 2955-2955/com.radaee.reader D/AndroidRuntime: Shutting down VM
08-23 19:53:40.199 2955-2955/com.radaee.reader E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.radaee.reader, PID: 2955
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.radaee.view.PDFPageView.invalidate()' on a null object reference
at com.radaee.view.PDFViewPager$1.handleMessage(PDFViewPager.java:53)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)


And, there is another problem when use PDF file below:
www.heidelberg-mobil.com/fileadmin/hd_mo.../material-design.pdf
  1. Show the file in ViewPager.
  2. Swap several pages very quickly.
  3. Press back key immediately.

It will back to MainActivity, but UI is blocked several seconds until CRUSH!!
The crush log is the same as above.

Hope will be fixed soon. Thank you.

Please Log in or Create an account to join the conversation.

Last edit: by yuaner.

PDFViewer3.8beta4 ViewPager crush issue 2 years 3 months ago #11052

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
this issue has already been fixed.
Please try with the latest beta version : www.radaeepdf.com/download/download-prev...ile/61-radaeepdf-38b

About the second issue, there is no attachment, can you please send us the pdf?

Please Log in or Create an account to join the conversation.

PDFViewer3.8beta4 ViewPager crush issue 2 years 3 months ago #11053

  • yuaner
  • yuaner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Thank you about the first one.

I'm sorry about the second one. I don't know why the attachment upload failed. Maybe too large.
Would you try the url below?
www.google.com/#newwindow=1&q=material-design.pdf

Please Log in or Create an account to join the conversation.

PDFViewer3.8beta4 ViewPager crush issue 2 years 3 months ago #11054

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
sorry the link is not working.

Please Log in or Create an account to join the conversation.

PDFViewer3.8beta4 ViewPager crush issue 2 years 3 months ago #11055

  • yuaner
  • yuaner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0

Please Log in or Create an account to join the conversation.

Last edit: by yuaner.

PDFViewer3.8beta4 ViewPager crush issue 2 years 3 months ago #11063

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
now the link works properly.

I have checked you pdf with the last version o the library and there is no issue.
Please try it with the last beta and let us know if it's ok for you.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum