Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Here you should submit your bug reports with logcat.

Crash if pdf is zoomed

More
10 years 7 months ago #10100 by alexander.gustke
Hello,

with the newest Android lib (3.6.1) there is a crash in onTouchEvent:
Code:
java.lang.NullPointerException: Attempt to read from null array at com.radaee.view.PDFViewDual.vOnFling(PDFViewDual.java:460) at com.radaee.view.PDFView$PDFGestureListener.onFling(PDFView.java:493) at android.view.GestureDetector.onTouchEvent(GestureDetector.java:610) at com.radaee.view.PDFView.motionNormal(PDFView.java:616) at com.radaee.view.PDFView.vTouchEvent(PDFView.java:727) at *************.impl.SimplePDFView.onTouchEvent(SimplePDFView.java:211)

Everything i do in my custom class, where i instantiated a PDFView (pdfView), is calling vOnTouch on it:
Code:
@Override public boolean onTouchEvent(MotionEvent event) { if (pdfView != null) return pdfView.vTouchEvent(event); else return true; }
it happens everytime i zoomed in and try to scroll in a pdf.

Best regards
Alex
More
10 years 7 months ago #10221 by Davide
Replied by Davide on topic Crash if pdf is zoomed
Hi,
sorry for the delay.
Can you reproduce it with the demo project?

If yes, tell us the steps to reproduce it, so we can check it..
Time to create page: 0.398 seconds
Powered by Kunena Forum