Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

PDFViewer3.8beta4 ViewPager crush issue

More
10 years 4 weeks ago - 10 years 4 weeks ago #11051 by yuaner
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.
Last edit: 10 years 4 weeks ago by yuaner.
More
10 years 4 weeks ago #11052 by Davide
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?
More
10 years 4 weeks ago #11053 by yuaner
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
More
10 years 4 weeks ago #11054 by Davide
Hi,
sorry the link is not working.
More
10 years 4 weeks ago - 10 years 4 weeks ago #11055 by yuaner
Last edit: 10 years 4 weeks ago by yuaner.
More
10 years 4 weeks ago #11063 by Davide
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.
Time to create page: 0.434 seconds
Powered by Kunena Forum