- Posts: 6
- Thank you received: 0
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
10 years 4 weeks ago - 10 years 4 weeks ago #11051
by yuaner
PDFViewer3.8beta4 ViewPager crush issue was created by yuaner
Hi,
We're using the newest library PDFViewer3.8beta4 and it crushes when doing like below:
Here is the crush log.
And, there is another problem when use PDF file below:
www.heidelberg-mobil.com/fileadmin/hd_mo.../material-design.pdf
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.
We're using the newest library PDFViewer3.8beta4 and it crushes when doing like below:
- tap [ViewPager] button
- tap back key immediately
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
- Show the file in ViewPager.
- Swap several pages very quickly.
- 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.
10 years 4 weeks ago #11052
by Davide
Replied by Davide on topic PDFViewer3.8beta4 ViewPager crush issue
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?
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?
10 years 4 weeks ago #11053
by yuaner
Replied by yuaner on topic PDFViewer3.8beta4 ViewPager crush issue
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
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
10 years 4 weeks ago #11054
by Davide
Replied by Davide on topic PDFViewer3.8beta4 ViewPager crush issue
Hi,
sorry the link is not working.
sorry the link is not working.
10 years 4 weeks ago - 10 years 4 weeks ago #11055
by yuaner
Replied by yuaner on topic PDFViewer3.8beta4 ViewPager crush issue
Last edit: 10 years 4 weeks ago by yuaner.
10 years 4 weeks ago #11063
by Davide
Replied by Davide on topic PDFViewer3.8beta4 ViewPager crush issue
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.
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